From 2f1d6cd94d2a4ba0f15e5a15045b13a560297c45 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Mon, 5 Mar 2012 04:15:15 +0000 Subject: remove trailing white-spaces from public/javascripts/select_list_move.js git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9103 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- public/javascripts/select_list_move.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'public') diff --git a/public/javascripts/select_list_move.js b/public/javascripts/select_list_move.js index c5e5db461..2ad9db6cb 100644 --- a/public/javascripts/select_list_move.js +++ b/public/javascripts/select_list_move.js @@ -19,7 +19,7 @@ function swapOptions(theSel, index1, index2) } function deleteOption(theSel, theIndex) -{ +{ var selLength = theSel.length; if(selLength>0) { @@ -29,14 +29,14 @@ function deleteOption(theSel, theIndex) function moveOptions(theSelFrom, theSelTo) { - + var selLength = theSelFrom.length; var selectedText = new Array(); var selectedValues = new Array(); var selectedCount = 0; - + var i; - + for(i=selLength-1; i>=0; i--) { if(theSelFrom.options[i].selected) @@ -47,12 +47,12 @@ function moveOptions(theSelFrom, theSelTo) selectedCount++; } } - + for(i=selectedCount-1; i>=0; i--) { addOption(theSelTo, selectedText[i], selectedValues[i]); } - + if(NS4) history.go(0); } -- cgit v1.2.3