Commit f04264c9 authored by Aurel's avatar Aurel

fix fast input

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@12912 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 38e203a4
......@@ -179,7 +179,10 @@ if batch_mode:\n
return error_value\n
else:\n
context.Base_updateDialogForm(listbox=listbox\n
,empty_line_number=0 )\n
, portal_type = context.getPortalType()\n
, resource=resource\n
, previous_resource=resource\n
,empty_line_number=0 )\n
if field_error_dict != {}:\n
request.set(\'field_errors\', field_error_dict)\n
kw[\'REQUEST\'] = request\n
......
......@@ -247,7 +247,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>my_previous_item_portal_type</string> </value>
<value> <string>my_previous_resource</string> </value>
</item>
<item>
<key> <string>truncate</string> </key>
......@@ -281,7 +281,7 @@
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: here.getProperty(\'resource\')</string> </value>
<value> <string>python: here.getProperty(\'previous_resource\', \'\')</string> </value>
</item>
</dictionary>
</pickle>
......@@ -300,7 +300,7 @@
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: \'\'</string> </value>
<value> <string>python: None</string> </value>
</item>
</dictionary>
</pickle>
......
72
\ No newline at end of file
74
\ 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