diff options
author | Petr Vobornik <pvoborni@redhat.com> | 2013-10-21 12:37:48 +0200 |
---|---|---|
committer | Martin Kosek <mkosek@redhat.com> | 2014-01-21 12:04:02 +0100 |
commit | 2d9bb22772610e1211580b410c7d075996f0f78c (patch) | |
tree | 16a8e8932c334c08b6fd592ee3634dad67a987a9 /install | |
parent | 7adb034e02c7a2a23f52d96d366273cc76e4717f (diff) | |
download | freeipa-2d9bb22772610e1211580b410c7d075996f0f78c.tar.gz freeipa-2d9bb22772610e1211580b410c7d075996f0f78c.tar.xz freeipa-2d9bb22772610e1211580b410c7d075996f0f78c.zip |
Change undo to regular button
https://fedorahosted.org/freeipa/ticket/3904
Diffstat (limited to 'install')
-rw-r--r-- | install/ui/src/freeipa/widget.js | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/install/ui/src/freeipa/widget.js b/install/ui/src/freeipa/widget.js index 0fcf61827..619b0a47d 100644 --- a/install/ui/src/freeipa/widget.js +++ b/install/ui/src/freeipa/widget.js @@ -316,13 +316,12 @@ IPA.input_widget = function(spec) { that.create_undo = function(container, on_undo) { container.append(' '); - that.undo_span = - $('<span/>', { - name: 'undo', - style: 'display: none;', - 'class': 'ui-state-highlight ui-corner-all undo', - html: text.get('@i18n:widget.undo') - }).appendTo(container); + that.undo_span = IPA.button({ + name: 'undo', + style: 'display: none;', + 'class': 'undo', + label: text.get('@i18n:widget.undo') + }).appendTo(container); if(on_undo === undefined) { on_undo = function() { |