Change undo-all to regular button

https://fedorahosted.org/freeipa/ticket/3904
This commit is contained in:
Petr Vobornik 2013-10-22 14:13:32 +02:00 committed by Martin Kosek
parent 2d9bb22772
commit a85cda3607
2 changed files with 7 additions and 3 deletions

View File

@ -970,6 +970,10 @@ table.scrollable tbody {
width: 250px;
}
.multivalued-widget a[name=add] {
margin-right: 5px;
}
.textarea-widget textarea {
width: 250px;
}

View File

@ -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);
}