diff options
author | Adam Young <ayoung@redhat.com> | 2010-11-15 11:32:28 -0500 |
---|---|---|
committer | Endi Sukma Dewata <edewata@redhat.com> | 2010-11-16 11:20:20 -0500 |
commit | 7abd8c6ecb0a0aafeaac9a4baa1d5db96722a3ab (patch) | |
tree | 16ff111e99ec698546b5f0b4500bd4e6d981f257 /install | |
parent | b84b0239f804778b5f38482f9aa39894f92a723c (diff) | |
download | freeipa-7abd8c6ecb0a0aafeaac9a4baa1d5db96722a3ab.tar.gz freeipa-7abd8c6ecb0a0aafeaac9a4baa1d5db96722a3ab.tar.xz freeipa-7abd8c6ecb0a0aafeaac9a4baa1d5db96722a3ab.zip |
buttons to action panel puts the buttons as the top li in the action panel
Diffstat (limited to 'install')
-rw-r--r-- | install/static/details.js | 4 | ||||
-rw-r--r-- | install/static/search.js | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/install/static/details.js b/install/static/details.js index 49957a56d..ee61f0cfe 100644 --- a/install/static/details.js +++ b/install/static/details.js @@ -457,9 +457,9 @@ function ipa_details_create(container) 'class': 'content' }).appendTo(container); - var buttons = $('<div/>', { + var buttons = $('<li/>', { 'class': 'details-buttons' - }).appendTo(details); + }).prependTo($('.action-panel ul')); buttons.append(ipa_button({ 'label': 'Reset', diff --git a/install/static/search.js b/install/static/search.js index 214208a27..040508734 100644 --- a/install/static/search.js +++ b/install/static/search.js @@ -64,7 +64,7 @@ function ipa_search_widget(spec) { 'click': function() { that.add(container); } }) ); - li.appendTo($('.action-panel ul')); + li.prependTo($('.action-panel ul')); search_controls.append('<span class="search-buttons"></span>'); |