Commit 97723f9a authored by Jérome Perrin's avatar Jérome Perrin

don't apply this if selected, otherwise no indentation is displayed

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34968 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 24a06257
...@@ -317,7 +317,7 @@ var rewriteIndentedSelect = function() {\n ...@@ -317,7 +317,7 @@ var rewriteIndentedSelect = function() {\n
}\n }\n
}\n }\n
}\n }\n
if (level >= 1) {\n if (level >= 1 && !options[j].selected) {\n
level = level / 4.;\n level = level / 4.;\n
options[j].innerHTML = text.replace(/^( )+/, "");\n options[j].innerHTML = text.replace(/^( )+/, "");\n
options[j].style.paddingLeft = level+"em";\n options[j].style.paddingLeft = level+"em";\n
......
938 939
\ 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