summaryrefslogtreecommitdiffstats
path: root/install/ui/src/freeipa/widget.js
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2013-10-22 14:13:32 +0200
committerMartin Kosek <mkosek@redhat.com>2014-01-21 12:04:02 +0100
commita85cda36070bb7279e1248342b8eb1b1e19a12a5 (patch)
treeed4263a7ce57df191818894489cb2868e4e55f50 /install/ui/src/freeipa/widget.js
parent2d9bb22772610e1211580b410c7d075996f0f78c (diff)
downloadfreeipa.git-a85cda36070bb7279e1248342b8eb1b1e19a12a5.tar.gz
freeipa.git-a85cda36070bb7279e1248342b8eb1b1e19a12a5.tar.xz
freeipa.git-a85cda36070bb7279e1248342b8eb1b1e19a12a5.zip
Change undo-all to regular button
https://fedorahosted.org/freeipa/ticket/3904
Diffstat (limited to 'install/ui/src/freeipa/widget.js')
-rw-r--r--install/ui/src/freeipa/widget.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/install/ui/src/freeipa/widget.js b/install/ui/src/freeipa/widget.js
index 619b0a47..c6b4d379 100644
--- a/install/ui/src/freeipa/widget.js
+++ b/install/ui/src/freeipa/widget.js
@@ -813,11 +813,11 @@ IPA.multivalued_widget = function(spec) {
container.append(' ');
- that.undo_span = $('<span/>', {
+ that.undo_span = IPA.button({
name: 'undo_all',
style: 'display: none;',
- 'class': 'ui-state-highlight ui-corner-all undo',
- html: text.get('@i18n:widget.undo_all'),
+ 'class': 'undo',
+ label: text.get('@i18n:widget.undo_all'),
click: function() {
that.undo_clicked.notify([], that);
}