summaryrefslogtreecommitdiffstats
path: root/install
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
parent2d9bb22772610e1211580b410c7d075996f0f78c (diff)
downloadfreeipa-a85cda36070bb7279e1248342b8eb1b1e19a12a5.tar.gz
freeipa-a85cda36070bb7279e1248342b8eb1b1e19a12a5.tar.xz
freeipa-a85cda36070bb7279e1248342b8eb1b1e19a12a5.zip
Change undo-all to regular button
https://fedorahosted.org/freeipa/ticket/3904
Diffstat (limited to 'install')
-rw-r--r--install/ui/ipa.css4
-rw-r--r--install/ui/src/freeipa/widget.js6
2 files changed, 7 insertions, 3 deletions
diff --git a/install/ui/ipa.css b/install/ui/ipa.css
index 59b385796..0314bd9be 100644
--- a/install/ui/ipa.css
+++ b/install/ui/ipa.css
@@ -970,6 +970,10 @@ table.scrollable tbody {
width: 250px;
}
+.multivalued-widget a[name=add] {
+ margin-right: 5px;
+}
+
.textarea-widget textarea {
width: 250px;
}
diff --git a/install/ui/src/freeipa/widget.js b/install/ui/src/freeipa/widget.js
index 619b0a47d..c6b4d379e 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);
}