Commit e6aaba56 authored by Bartek Górny's avatar Bartek Górny

Fixed url of import/export button so that the dialog is displayed properly.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13170 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 79545b39
......@@ -134,8 +134,10 @@ for action in button_action_list:\n
# Append an exchange button\n
if len(exchange_action_list):\n
action = exchange_action_list[0]\n
url = action[\'url\'].replace(absolute_url, editable_absolute_url)\n
url = \'%s?dialog_category=object_exchange&cancel_url=%s/view\' % (url, absolute_url)\n
result.append(dict(\n
url = action[\'url\'].replace(absolute_url, editable_absolute_url),\n
url = url,\n
icon = \'%s/images/imp-exp.png\' % portal_url,\n
title = translateString(\'Import / Export\'),\n
label = "Import / Export Icon",\n
......@@ -207,6 +209,7 @@ return result\n
<string>action</string>
<string>_getitem_</string>
<string>len</string>
<string>url</string>
</tuple>
</value>
</item>
......
534
\ No newline at end of file
536
\ 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