diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2012-03-05 04:15:15 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2012-03-05 04:15:15 +0000 |
commit | 2f1d6cd94d2a4ba0f15e5a15045b13a560297c45 (patch) | |
tree | 13dfa0506dff123f836b187050b17738cc52e63e /public | |
parent | 1214365611fb5e0af45851d104778b760c006919 (diff) | |
download | redmine-2f1d6cd94d2a4ba0f15e5a15045b13a560297c45.tar.gz redmine-2f1d6cd94d2a4ba0f15e5a15045b13a560297c45.zip |
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
Diffstat (limited to 'public')
-rw-r--r-- | public/javascripts/select_list_move.js | 12 |
1 files changed, 6 insertions, 6 deletions
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); } |