##// END OF EJS Templates
Removed submit_query_form function....
Removed submit_query_form function. git-svn-id: http://svn.redmine.org/redmine/trunk@13617 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r13234:ff0a91d97da0
r13235:4bfbabfdfa34
Show More
select_list_move.js
29 lines | 851 B | application/javascript | JavascriptLexer
function moveOptions(theSelFrom, theSelTo) {
$(theSelFrom).find('option:selected').detach().prop("selected", false).appendTo($(theSelTo));
}
function moveOptionUp(theSel) {
$(theSel).find('option:selected').each(function(){
$(this).prev(':not(:selected)').detach().insertAfter($(this));
});
}
function moveOptionTop(theSel) {
$(theSel).find('option:selected').detach().prependTo($(theSel));
}
function moveOptionDown(theSel) {
$($(theSel).find('option:selected').get().reverse()).each(function(){
$(this).next(':not(:selected)').detach().insertBefore($(this));
});
}
function moveOptionBottom(theSel) {
$(theSel).find('option:selected').detach().appendTo($(theSel));
}
$(document).ready(function(){
$('.query-columns').closest('form').submit(function(){
$('#selected_columns option').prop('selected', true);
});
});