From 361e97879f1572bafac4d6881781a93ae71ed720 Mon Sep 17 00:00:00 2001 From: Sven Franck <sven.franck@nexedi.com> Date: Tue, 8 Sep 2015 10:02:16 +0000 Subject: [PATCH] erp5_officejs: correct error name to correctly catch errors --- .../web_page_module/gadget_officejs_webrtc_jio_js.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_webrtc_jio_js.xml b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_webrtc_jio_js.xml index f63c91d3cf..34a8babc5b 100644 --- a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_webrtc_jio_js.xml +++ b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_webrtc_jio_js.xml @@ -172,7 +172,7 @@ context = this;\n if (json.type === "jio_response") {\n context.state_parameter_dict.message_dict[json.id].resolve(json.result);\n - } else if (json.type === "jio_error") {\n + } else if (json.type === "error") {\n context.state_parameter_dict.message_dict[json.id].reject(json.result);\n }\n // Drop all other kind of messages\n @@ -383,7 +383,7 @@ </item> <item> <key> <string>actor</string> </key> - <value> <string>romain</string> </value> + <value> <string>zope</string> </value> </item> <item> <key> <string>comment</string> </key> @@ -397,7 +397,7 @@ </item> <item> <key> <string>serial</string> </key> - <value> <string>945.33670.33244.37512</string> </value> + <value> <string>945.38227.6078.28825</string> </value> </item> <item> <key> <string>state</string> </key> @@ -415,7 +415,7 @@ </tuple> <state> <tuple> - <float>1441357867.08</float> + <float>1441706238.46</float> <string>GMT</string> </tuple> </state> -- 2.30.9