Commit 373b0a93 authored by Fabien Morin's avatar Fabien Morin

total_line was not defined. This make the gadget...

total_line was not defined. This make the gadget WebSite_viewLatestAdditionList unable to display the listbox

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26174 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ce1e543b
......@@ -395,7 +395,7 @@
tal:attributes="title python: \'Next Page: page %s\' % next_page;\n
id string:${field_id}_next_page;\n
onclick python: real_context.KnowledgePad_generateAjaxCall(context_url+\'/\'+form_id,box,dom_id,params)">&gt;&gt;</button>\n
<button tal:define ="params python: {field_id+\'_lastPage:method\':\'\',\'total_size\':total_line}"\n
<button tal:define ="params python: {field_id+\'_lastPage:method\':\'\',\'total_size\':int(here.total_size)}"\n
name="lastPage"\n
type="button"\n
tal:attributes="title python: Base_translateString(\'Last page: Page ${total_page}\', mapping={\'total_page\': total_page});\n
......
677
\ No newline at end of file
679
\ 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