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 @@ ...@@ -58,7 +58,8 @@
This script is called by drag and drop javascript framework\n This script is called by drag and drop javascript framework\n
when user click on \'Close\' button.\n when user click on \'Close\' button.\n
"""\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 = context.restrictedTraverse(box_relative_url)\n
box.delete()\n box.delete()\n
</string> </value> </string> </value>
...@@ -105,6 +106,8 @@ box.delete()\n ...@@ -105,6 +106,8 @@ box.delete()\n
<tuple> <tuple>
<string>box_relative_url</string> <string>box_relative_url</string>
<string>_getattr_</string> <string>_getattr_</string>
<string>splitted_box_url</string>
<string>_getitem_</string>
<string>context</string> <string>context</string>
<string>box</string> <string>box</string>
</tuple> </tuple>
......
491 492
\ 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