From 4d4d8524a59fd34cc0b8be073cea5809bb13c3a2 Mon Sep 17 00:00:00 2001
From: Nicolas Wavrant <nicolas.wavrant@nexedi.com>
Date: Tue, 3 Jan 2017 12:19:27 +0000
Subject: [PATCH] erp5_officejs: move reload from configurator_page to
 sync_page also when using the local storage

---
 .../gadget_officejs_page_jio_configurator_js.js               | 2 +-
 .../gadget_officejs_page_jio_configurator_js.xml              | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_jio_configurator_js.js b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_jio_configurator_js.js
index 679bbfa7f6..21a469aab1 100644
--- a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_jio_configurator_js.js
+++ b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_jio_configurator_js.js
@@ -24,7 +24,7 @@
         return gadget.setSetting('jio_storage_name', "LOCAL");
       })
       .push(function () {
-        return gadget.reload();
+        return gadget.setSetting('sync_reload', true);
       })
       .push(function () {
         return gadget.redirect({page: 'sync', auto_repair: 'true'});
diff --git a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_jio_configurator_js.xml b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_jio_configurator_js.xml
index 1674253cb9..89204a8c0f 100644
--- a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_jio_configurator_js.xml
+++ b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_jio_configurator_js.xml
@@ -230,7 +230,7 @@
             </item>
             <item>
                 <key> <string>serial</string> </key>
-                <value> <string>954.38525.9614.27067</string> </value>
+                <value> <string>956.25761.13498.989</string> </value>
             </item>
             <item>
                 <key> <string>state</string> </key>
@@ -248,7 +248,7 @@
                     </tuple>
                     <state>
                       <tuple>
-                        <float>1476437867.08</float>
+                        <float>1483450981.89</float>
                         <string>UTC</string>
                       </tuple>
                     </state>
-- 
2.30.9