From 079de6eca3e0d8e248bf052c423406b8a9fef10e Mon Sep 17 00:00:00 2001
From: Romain Courteaud <romain@nexedi.com>
Date: Mon, 9 Nov 2015 13:12:05 +0000
Subject: [PATCH] Revert "erp5_web_renderjs_ui: field_json.page is added for
 listbox configuration."

This reverts commit d6b94272c17be095a54ef400701bf8d94cd1b0ce.

Listbox navigation was broken because of this change.
---
 .../web_page_module/rjs_gadget_erp5_listbox_js.xml             | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_listbox_js.xml b/bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_listbox_js.xml
index bcea63e72a2..4d7c8e3076e 100644
--- a/bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_listbox_js.xml
+++ b/bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_listbox_js.xml
@@ -242,8 +242,7 @@
                 jio_key: result.data.rows[i].id,\n
                 selection_index: begin_from + i,\n
                 query: new URI(field_json.query).query(true).query + query_string,\n
-                list_method_template: field_json.list_method_template,\n
-                page: field_json.page\n
+                list_method_template: field_json.list_method_template\n
               }\n
             })\n
           );\n
-- 
2.30.9