summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Young <ayoung@redhat.com>2010-11-15 11:32:28 -0500
committerEndi Sukma Dewata <edewata@redhat.com>2010-11-16 11:20:20 -0500
commit7abd8c6ecb0a0aafeaac9a4baa1d5db96722a3ab (patch)
tree16ff111e99ec698546b5f0b4500bd4e6d981f257
parentb84b0239f804778b5f38482f9aa39894f92a723c (diff)
downloadfreeipa-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
-rw-r--r--install/static/details.js4
-rw-r--r--install/static/search.js2
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>');