diff options
Diffstat (limited to 'frontends/php/js/common.js')
-rw-r--r-- | frontends/php/js/common.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/frontends/php/js/common.js b/frontends/php/js/common.js index 2dc484bb..ba02fb49 100644 --- a/frontends/php/js/common.js +++ b/frontends/php/js/common.js @@ -593,11 +593,14 @@ function moveListBoxSelectedItem(formname,objname,from,to,action){ for(i = 0; i < from.options.length; i++) { if(from.options[i].selected == true) { +/* var temp = document.createElement('option'); temp.setAttribute('value',from.options[i].value); var caption = IE?from.options[i].innerText:from.options[i].textContent; temp.appendChild(document.createTextNode(caption)); +*/ + var temp = from.options[i].cloneNode(true); if(action.toLowerCase() == 'add'){ result &= create_var(formname, objname+'['+from.options[i].value+']', from.options[i].value, false); @@ -612,5 +615,6 @@ function moveListBoxSelectedItem(formname,objname,from,to,action){ i--; } } + alert('OPA'); return result; }
\ No newline at end of file |