buttons to action panel puts the buttons as the top li in the action panel

This commit is contained in:
Adam Young 2010-11-15 11:32:28 -05:00 committed by Endi Sukma Dewata
parent b84b0239f8
commit 7abd8c6ecb
2 changed files with 3 additions and 3 deletions

View File

@ -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',

View File

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