diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/erp5.js.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/erp5.js.xml index 41c3fcd8e3922c98671aa0422e68e741a21cad8d..71f76e5e3cab8ded0fc5b82dd73ef637aaee96bf 100644 --- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/erp5.js.xml +++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/erp5.js.xml @@ -149,26 +149,14 @@ function buildTables(element_list, rowPredicate, columnPredicate,\n }\n }\n \n -function matchChunk(string, separator, chunk_value) {\n - if (string != null) {\n - var chunk_list = string.split(separator);\n - var i;\n - for (i = 0; i < chunk_list.length; i++) {\n - if (chunk_list[i] == chunk_value)\n - return true;\n - }\n - }\n - return false;\n -}\n -\n function matchLeftFieldset(element) {\n - return (element.tagName == "FIELDSET") &&\n - matchChunk(element.className, \' \', "left");\n + return (element.tagName == "FIELDSET" &&\n + element.className.toLowerCase().indexOf(\'left\') != -1)\n }\n \n function matchRightFieldset(element, ignored) {\n - if ((element.tagName == "FIELDSET") &&\n - matchChunk(element.className, \' \', "right"))\n + if (element.tagName == "FIELDSET" &&\n + element.className.toLowerCase().indexOf(\'right\') != -1)\n return 7; /* End row, table and use element */\n return 0;\n }\n diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision b/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision index 72f2f0b2b88253436d92b676b1d40825e229fcb1..36699e756182a2189e770f0eced5e5070555cca6 100644 --- a/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision +++ b/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision @@ -1 +1 @@ -931 \ No newline at end of file +933 \ No newline at end of file