[Erp5-report] r34716 jerome - in /erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style: Skin...
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Apr 22 10:45:09 CEST 2010
Author: jerome
Date: Thu Apr 22 10:45:08 2010
New Revision: 34716
URL: http://svn.erp5.org?rev=34716&view=rev
Log:
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
Modified:
erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/erp5.js.xml
erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision
Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/erp5.js.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/erp5.js.xml?rev=34716&r1=34715&r2=34716&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/erp5.js.xml [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/erp5.js.xml [utf8] Thu Apr 22 10:45:08 2010
@@ -327,7 +327,7 @@
}\n
}\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
\n
}\n
Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision?rev=34716&r1=34715&r2=34716&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision [utf8] Thu Apr 22 10:45:08 2010
@@ -1,1 +1,1 @@
-929
+930
More information about the Erp5-report
mailing list