##// 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
Toshi MARUYAMA
code layout clean up select_list_move.js...
r11513 function moveOptions(theSelFrom, theSelTo) {
Jean-Philippe Lang
Rewritten select_list_move.js functions with JQuery....
r13233 $(theSelFrom).find('option:selected').detach().prop("selected", false).appendTo($(theSelTo));
Toshi MARUYAMA
set svn:eol-style native public/javascripts/select_list_move.js...
r8979 }
function moveOptionUp(theSel) {
Jean-Philippe Lang
Rewritten select_list_move.js functions with JQuery....
r13233 $(theSel).find('option:selected').each(function(){
$(this).prev(':not(:selected)').detach().insertAfter($(this));
});
Toshi MARUYAMA
set svn:eol-style native public/javascripts/select_list_move.js...
r8979 }
Jean-Philippe Lang
Custom queries: buttons to move column to top and bottom (#16326)....
r12716 function moveOptionTop(theSel) {
Jean-Philippe Lang
Rewritten select_list_move.js functions with JQuery....
r13233 $(theSel).find('option:selected').detach().prependTo($(theSel));
Jean-Philippe Lang
Custom queries: buttons to move column to top and bottom (#16326)....
r12716 }
Toshi MARUYAMA
set svn:eol-style native public/javascripts/select_list_move.js...
r8979 function moveOptionDown(theSel) {
Jean-Philippe Lang
Rewritten select_list_move.js functions with JQuery....
r13233 $($(theSel).find('option:selected').get().reverse()).each(function(){
$(this).next(':not(:selected)').detach().insertBefore($(this));
});
Toshi MARUYAMA
set svn:eol-style native public/javascripts/select_list_move.js...
r8979 }
Jean-Philippe Lang
Custom queries: buttons to move column to top and bottom (#16326)....
r12716 function moveOptionBottom(theSel) {
Jean-Philippe Lang
Rewritten select_list_move.js functions with JQuery....
r13233 $(theSel).find('option:selected').detach().appendTo($(theSel));
Jean-Philippe Lang
Custom queries: buttons to move column to top and bottom (#16326)....
r12716 }
Jean-Philippe Lang
Use an handler instead of onsubmit attribute....
r13234 $(document).ready(function(){
$('.query-columns').closest('form').submit(function(){
$('#selected_columns option').prop('selected', true);
});
});