Commit 37ee26db authored by Yusei Tahara's avatar Yusei Tahara

Revert my previous changes.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17908 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent fd046dc0
......@@ -113,13 +113,6 @@ def editListBox(listbox_field, listbox):\n
hidden_attributes = map(lambda x:x[0], listbox_field.get_value(\'global_attributes\'))\n
for k in hidden_attributes:\n
gv[k] = getattr(request, k, None)\n
if form_id==\'Predicate_view\':\n
# Special procedure for Predicate\n
for property, v in listbox.items():\n
v.update(gv)\n
context.setCriterion(property, **v)\n
else:\n
# General procedure\n
for url, v in listbox.items():\n
v.update(gv)\n
context.restrictedTraverse(url).edit(**v)\n
......
......@@ -44,7 +44,7 @@
</item>
<item>
<key> <string>action</string> </key>
<value> <string>Base_edit</string> </value>
<value> <string>Predicate_edit</string> </value>
</item>
<item>
<key> <string>description</string> </key>
......@@ -109,6 +109,7 @@
<string>my_string_index</string>
<string>my_int_index</string>
<string>my_test_method_id</string>
<string>my_membership_criterion_category_list2</string>
</list>
</value>
</item>
......
603
\ No newline at end of file
605
\ 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