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,6 +179,9 @@ if batch_mode:\n ...@@ -179,6 +179,9 @@ if batch_mode:\n
return error_value\n return error_value\n
else:\n else:\n
context.Base_updateDialogForm(listbox=listbox\n context.Base_updateDialogForm(listbox=listbox\n
, portal_type = context.getPortalType()\n
, resource=resource\n
, previous_resource=resource\n
,empty_line_number=0 )\n ,empty_line_number=0 )\n
if field_error_dict != {}:\n if field_error_dict != {}:\n
request.set(\'field_errors\', field_error_dict)\n request.set(\'field_errors\', field_error_dict)\n
......
...@@ -247,7 +247,7 @@ ...@@ -247,7 +247,7 @@
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>my_previous_item_portal_type</string> </value> <value> <string>my_previous_resource</string> </value>
</item> </item>
<item> <item>
<key> <string>truncate</string> </key> <key> <string>truncate</string> </key>
...@@ -281,7 +281,7 @@ ...@@ -281,7 +281,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <string>python: here.getProperty(\'resource\')</string> </value> <value> <string>python: here.getProperty(\'previous_resource\', \'\')</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
...@@ -300,7 +300,7 @@ ...@@ -300,7 +300,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <string>python: \'\'</string> </value> <value> <string>python: None</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
72 74
\ 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