Commit be0d9c1e authored by Jérome Perrin's avatar Jérome Perrin

fix that regexp, if " " is present in the middle of a name, it should not...

fix that regexp, if " " is present in the middle of a name, it should not be replaced. Only spaces used for indentation should be replaced

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34716 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 9b25d49d
...@@ -327,7 +327,7 @@ var rewriteIndentedSelect = function() {\n ...@@ -327,7 +327,7 @@ var rewriteIndentedSelect = function() {\n
}\n }\n
}\n }\n
level = level / 4.;\n level = level / 4.;\n
options[j].innerHTML = options[j].innerHTML.replace(/ /g, "");\n options[j].innerHTML = options[j].innerHTML.replace(/^( )+/, "");\n
options[j].style.paddingLeft = level+"em";\n options[j].style.paddingLeft = level+"em";\n
\n \n
}\n }\n
......
929 930
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment