Commit 6dd8e1ff authored by Jean-Paul Smets's avatar Jean-Paul Smets

Take into account the new javascript loading mechanism and add portal_path.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14794 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 7f7e3cdc
......@@ -71,8 +71,12 @@ along with this program; if not, write to the Free Software\n
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n
-->\n
</tal:block>\n
<tal:block tal:define="css_list python: [\'ERP5Subversion_movableMenu.css\',];\n
js_list python: [\'ERP5Subversion_menuico.js\', \'ERP5Subversion_movableMenu.js\', \'ERP5Subversion_doCreateJavaScriptDiff.js\']">\n
<tal:block tal:define="portal_path here/portal_url;\n
css_list python: [\'%s/ERP5Subversion_movableMenu.css\' % portal_path,];\n
js_list python: [\'%s/erp5.js\' % portal_path,\n
\'%s/ERP5Subversion_menuico.js\' % portal_path,\n
\'%s/ERP5Subversion_movableMenu.js\' % portal_path,\n
\'%s/ERP5Subversion_doCreateJavaScriptDiff.js\' % portal_path]">\n
<tal:block metal:use-macro="here/view_master/macros/master">\n
<tal:block metal:fill-slot="main">\n
<tal:py replace="structure \n
......
......@@ -71,8 +71,15 @@ along with this program; if not, write to the Free Software\n
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n
-->\n
</tal:block>\n
<tal:block tal:define="css_list python: [\'ERP5Subversion_dhtmlXTree.css\', \'ERP5Subversion_movableMenu.css\'];\n
js_list python: [\'ERP5Subversion_dhtmlXCommon.js\', \'ERP5Subversion_dhtmlXTree.js\', \'ERP5Subversion_menuico.js\', \'ERP5Subversion_movableMenu.js\', \'ERP5Subversion_doCreateJavaScriptStatus.js\']">\n
<tal:block tal:define="portal_path here/portal_url;\n
css_list python: [\'%s/ERP5Subversion_dhtmlXTree.css\' % portal_path,\n
\'%s/ERP5Subversion_movableMenu.css\' % portal_path];\n
js_list python: [\'%s/erp5.js\' % portal_path,\n
\'%s/ERP5Subversion_dhtmlXCommon.js\' % portal_path,\n
\'%s/ERP5Subversion_dhtmlXTree.js\' % portal_path,\n
\'%s/ERP5Subversion_menuico.js\' % portal_path,\n
\'%s/ERP5Subversion_movableMenu.js\' % portal_path,\n
\'%s/ERP5Subversion_doCreateJavaScriptStatus.js\' % portal_path]">\n
<tal:block metal:use-macro="here/view_master/macros/master">\n
<tal:block metal:fill-slot="main">\n
<noscript>\n
......
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