Commit ce1e543b authored by Fabien Morin's avatar Fabien Morin

move showPopik from erp5_new_km to erp5_web because it's required everywhere...

move showPopik from erp5_new_km to erp5_web because it's required everywhere we want to have a nice search. Add the new js file to the template.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26173 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ba138dae
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="DTMLMethod" module="OFS.DTMLMethod"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__name__</string> </key>
<value> <string>erp5_web_utils.js</string> </value>
</item>
<item>
<key> <string>_vars</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>globals</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>raw</string> </key>
<value> <string>function showPopik(dom_id, what){\n
obj = getElement(dom_id);\n
if(what==true){\n
obj.style.display=\'block\';}\n
else{\n
obj.style.display=\'none\';}\n
}</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
...@@ -73,7 +73,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n ...@@ -73,7 +73,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n
\'%s/erp5_web_%scontent.css\' % (portal_path, editable and \'editable_\' or \'\'),\n \'%s/erp5_web_%scontent.css\' % (portal_path, editable and \'editable_\' or \'\'),\n
\'%s/erp5_web_admin_toolbox.css\' % portal_path,\n \'%s/erp5_web_admin_toolbox.css\' % portal_path,\n
\'%s/template_erp5_web.css\' % portal_path,];\n \'%s/template_erp5_web.css\' % portal_path,];\n
global js_list python:[]">\n global js_list python:[\'%s/erp5_web_utils.js\' % portal_path,]">\n
<tal:block metal:use-macro="here/template_erp5_xhtml_style/macros/master">\n <tal:block metal:use-macro="here/template_erp5_xhtml_style/macros/master">\n
<tal:block metal:fill-slot="layout"\n <tal:block metal:fill-slot="layout"\n
tal:define="dummy python: request.set(\'editable_mode\', True)">\n tal:define="dummy python: request.set(\'editable_mode\', True)">\n
......
768 769
\ 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