Commit b6fba0aa authored by Ivan Tyagov's avatar Ivan Tyagov

In r33683 knowledge pad HTML id elements format changed.

As this id are used to toggle and move gadgets in Zope server adjust accordingly respective scripts.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33788 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 048d4a4f
......@@ -58,7 +58,8 @@
This script is called by drag and drop javascript framework\n
when user click on \'Close\' button.\n
"""\n
\n
splitted_box_url = box_relative_url.split(\'_\')\n
box_relative_url = \'knowledge_pad_module/%s/%s\' %(splitted_box_url[-2], splitted_box_url[-1])\n
box = context.restrictedTraverse(box_relative_url)\n
box.delete()\n
</string> </value>
......@@ -105,6 +106,8 @@ box.delete()\n
<tuple>
<string>box_relative_url</string>
<string>_getattr_</string>
<string>splitted_box_url</string>
<string>_getitem_</string>
<string>context</string>
<string>box</string>
</tuple>
......
491
\ No newline at end of file
492
\ 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