Commit e7104086 authored by Vincent Pelletier's avatar Vincent Pelletier

Remove unused code which was written to workaround an HTML-interface problem...

Remove unused code which was written to workaround an HTML-interface problem which doesn't exist any more.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13400 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 9a650b03
......@@ -70,19 +70,8 @@
<key> <string>_body</string> </key>
<value> <string>request = context.REQUEST\n
\n
if start_number == None and stop_number == None:\n
\n
try:\n
# when clicking on the button\n
start_number = int(request[\'start_number\'])\n
stop_number = int(request[\'stop_number\'])\n
except:\n
# when hitting the enter key\n
start_number = int(request[\'field_my_start_number\'])\n
stop_number = int(request[\'field_my_stop_number\'])\n
\n
context.setTitle(\'%s - %s\' % (start_number, stop_number))\n
for i in range(int(start_number), int(stop_number) + 1):\n
for i in xrange(int(start_number), int(stop_number) + 1):\n
newline = context.newContent(portal_type=\'Check\', title=str(i))\n
newline.setDestination(context.getDestinationSection())\n
newline.setStartDate(context.getStartDate())\n
......@@ -110,7 +99,7 @@ request.RESPONSE.redirect(context.absolute_url())\n
</item>
<item>
<key> <string>_params</string> </key>
<value> <string>start_number = 0, stop_number = 0</string> </value>
<value> <string>start_number, stop_number</string> </value>
</item>
<item>
<key> <string>errors</string> </key>
......@@ -141,11 +130,9 @@ request.RESPONSE.redirect(context.absolute_url())\n
<string>_getattr_</string>
<string>context</string>
<string>request</string>
<string>None</string>
<string>int</string>
<string>_getitem_</string>
<string>_getiter_</string>
<string>range</string>
<string>xrange</string>
<string>int</string>
<string>i</string>
<string>str</string>
<string>newline</string>
......@@ -160,10 +147,7 @@ request.RESPONSE.redirect(context.absolute_url())\n
<item>
<key> <string>func_defaults</string> </key>
<value>
<tuple>
<int>0</int>
<int>0</int>
</tuple>
<none/>
</value>
</item>
<item>
......
139
\ No newline at end of file
143
\ 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