From a975881d4c326a06317a22bd21217938440c20c3 Mon Sep 17 00:00:00 2001
From: Adam Young <[email protected]>
Date: Mon, 15 Nov 2010 11:32:28 -0500
Subject: [PATCH] buttons to action panel
 puts the buttons as the top li in the action panel

---
 install/static/details.js |    4 ++--
 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 49957a56d91646b18a9c1fe19229de7dc9f7b75e..ee61f0cfeba5e58fd9d601a2b1cf38bad7ca640b 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 214208a27f607b9358fad36a5f5fa1c9970c0bf1..040508734ef0c392b5f82fe0851e1dbdda2d7c5d 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>');
 
-- 
1.7.1

_______________________________________________
Freeipa-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/freeipa-devel

Reply via email to