diff options
author | Petr Vobornik <pvoborni@redhat.com> | 2014-05-13 17:36:40 +0200 |
---|---|---|
committer | Petr Vobornik <pvoborni@redhat.com> | 2014-06-06 17:20:38 +0200 |
commit | 0dc4f5c0741cf84672f79ce5b48777a64610169b (patch) | |
tree | 5004d9f6faeb7ddb7aa69f32330559cdfd06b4ff /install | |
parent | 0a817961e9cc2a589cbd893db887ff0f6f4eba62 (diff) | |
download | freeipa-0dc4f5c0741cf84672f79ce5b48777a64610169b.tar.gz freeipa-0dc4f5c0741cf84672f79ce5b48777a64610169b.tar.xz freeipa-0dc4f5c0741cf84672f79ce5b48777a64610169b.zip |
webui: use normal buttons instead of link buttons in multivalued widget
Diffstat (limited to 'install')
-rw-r--r-- | install/ui/src/freeipa/widget.js | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/install/ui/src/freeipa/widget.js b/install/ui/src/freeipa/widget.js index 76761d4a7..6c08e1e60 100644 --- a/install/ui/src/freeipa/widget.js +++ b/install/ui/src/freeipa/widget.js @@ -1026,7 +1026,7 @@ IPA.multivalued_widget = function(spec) { var remove_link_visible = !(row.is_new || !that.is_writable()); row.remove_link = $('<button/>', { name: 'remove', - 'class': 'btn btn-link', + 'class': 'btn btn-default', title: text.get('@i18n:buttons.remove'), html: text.get('@i18n:buttons.remove'), click: function () { @@ -1069,10 +1069,9 @@ IPA.multivalued_widget = function(spec) { that.create_error_link(container); - that.add_link = $('<a/>', { + that.add_link = $('<button/>', { name: 'add', - href: '#', - 'class': 'link-btn', + 'class': 'btn btn-default', title: text.get('@i18n:buttons.add'), html: text.get('@i18n:buttons.add'), click: function() { |