Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
7
Merge Requests
7
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Jérome Perrin
erp5
Commits
336384d8
Commit
336384d8
authored
Jan 12, 2023
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'upstream/master' into zope4py2
parents
6ded7299
b523913c
Changes
71
Show whitespace changes
Inline
Side-by-side
Showing
71 changed files
with
396 additions
and
177 deletions
+396
-177
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_bookmark_page_add_bookmark_js.js
...e_module/gadget_officejs_bookmark_page_add_bookmark_js.js
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_bookmark_page_add_bookmark_js.xml
..._module/gadget_officejs_bookmark_page_add_bookmark_js.xml
+5
-3
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_bookmark_page_preference_js.js
...age_module/gadget_officejs_bookmark_page_preference_js.js
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_bookmark_page_preference_js.xml
...ge_module/gadget_officejs_bookmark_page_preference_js.xml
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_bookmark_view_js.js
...eItem/web_page_module/gadget_officejs_bookmark_view_js.js
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_bookmark_view_js.xml
...Item/web_page_module/gadget_officejs_bookmark_view_js.xml
+6
-4
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_controller_page_local_controller_js.js
...le/gadget_officejs_controller_page_local_controller_js.js
+8
-13
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_controller_page_local_controller_js.xml
...e/gadget_officejs_controller_page_local_controller_js.xml
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_erp5_page_import_js.js
...em/web_page_module/gadget_officejs_erp5_page_import_js.js
+2
-3
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_erp5_page_import_js.xml
...m/web_page_module/gadget_officejs_erp5_page_import_js.xml
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_form_view_js.js
...plateItem/web_page_module/gadget_officejs_form_view_js.js
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_form_view_js.xml
...lateItem/web_page_module/gadget_officejs_form_view_js.xml
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_drive_record_view_js.js
...b_page_module/gadget_officejs_jio_drive_record_view_js.js
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_drive_record_view_js.xml
..._page_module/gadget_officejs_jio_drive_record_view_js.xml
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_multi_upload_js.js
...em/web_page_module/gadget_officejs_jio_multi_upload_js.js
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_multi_upload_js.xml
...m/web_page_module/gadget_officejs_jio_multi_upload_js.xml
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_notebook_view.js.js
...m/web_page_module/gadget_officejs_jio_notebook_view.js.js
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_notebook_view.js.xml
.../web_page_module/gadget_officejs_jio_notebook_view.js.xml
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_pdf_view_js.js
...teItem/web_page_module/gadget_officejs_jio_pdf_view_js.js
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_pdf_view_js.xml
...eItem/web_page_module/gadget_officejs_jio_pdf_view_js.xml
+3
-3
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_smart_assistant_file_view_js.js
...odule/gadget_officejs_jio_smart_assistant_file_view_js.js
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_smart_assistant_file_view_js.xml
...dule/gadget_officejs_jio_smart_assistant_file_view_js.xml
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_smart_assistant_image_view_js.js
...dule/gadget_officejs_jio_smart_assistant_image_view_js.js
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_smart_assistant_image_view_js.xml
...ule/gadget_officejs_jio_smart_assistant_image_view_js.xml
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_smart_assistant_query_view_js.js
...dule/gadget_officejs_jio_smart_assistant_query_view_js.js
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_smart_assistant_query_view_js.xml
...ule/gadget_officejs_jio_smart_assistant_query_view_js.xml
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_smart_assistant_sound_view_js.js
...dule/gadget_officejs_jio_smart_assistant_sound_view_js.js
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_smart_assistant_sound_view_js.xml
...ule/gadget_officejs_jio_smart_assistant_sound_view_js.xml
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_smart_assistant_text_view_js.js
...odule/gadget_officejs_jio_smart_assistant_text_view_js.js
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_smart_assistant_text_view_js.xml
...dule/gadget_officejs_jio_smart_assistant_text_view_js.xml
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_sound_view_js.js
...Item/web_page_module/gadget_officejs_jio_sound_view_js.js
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_sound_view_js.xml
...tem/web_page_module/gadget_officejs_jio_sound_view_js.xml
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_web_illustration_view_js.js
...ge_module/gadget_officejs_jio_web_illustration_view_js.js
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_web_illustration_view_js.xml
...e_module/gadget_officejs_jio_web_illustration_view_js.xml
+3
-3
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_web_page_view_js.js
...m/web_page_module/gadget_officejs_jio_web_page_view_js.js
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_web_page_view_js.xml
.../web_page_module/gadget_officejs_jio_web_page_view_js.xml
+3
-3
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_web_script_view_js.js
...web_page_module/gadget_officejs_jio_web_script_view_js.js
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_web_script_view_js.xml
...eb_page_module/gadget_officejs_jio_web_script_view_js.xml
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_handle_action_js.js
.../web_page_module/gadget_officejs_page_handle_action_js.js
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_handle_action_js.xml
...web_page_module/gadget_officejs_page_handle_action_js.xml
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_jio_dav_configurator_js.js
...ge_module/gadget_officejs_page_jio_dav_configurator_js.js
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_jio_dav_configurator_js.xml
...e_module/gadget_officejs_page_jio_dav_configurator_js.xml
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_jio_erp5_configurator_js.js
...e_module/gadget_officejs_page_jio_erp5_configurator_js.js
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_jio_erp5_configurator_js.xml
..._module/gadget_officejs_page_jio_erp5_configurator_js.xml
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_jio_erp5_smart_assistant_text_js.js
.../gadget_officejs_page_jio_erp5_smart_assistant_text_js.js
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_jio_erp5_smart_assistant_text_js.xml
...gadget_officejs_page_jio_erp5_smart_assistant_text_js.xml
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_ojs_linshare_configurator_js.js
...dule/gadget_officejs_page_ojs_linshare_configurator_js.js
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_ojs_linshare_configurator_js.xml
...ule/gadget_officejs_page_ojs_linshare_configurator_js.xml
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/ojs_gadget_erp5_page_ojs_download_convert_js.js
...ge_module/ojs_gadget_erp5_page_ojs_download_convert_js.js
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/ojs_gadget_erp5_page_ojs_download_convert_js.xml
...e_module/ojs_gadget_erp5_page_ojs_download_convert_js.xml
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/ojs_gadget_erp5_page_ojs_upload_convert_js.js
...page_module/ojs_gadget_erp5_page_ojs_upload_convert_js.js
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/ojs_gadget_erp5_page_ojs_upload_convert_js.xml
...age_module/ojs_gadget_erp5_page_ojs_upload_convert_js.xml
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/ojs_gadget_erp5_page_ojs_upload_js.js
...tem/web_page_module/ojs_gadget_erp5_page_ojs_upload_js.js
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/ojs_gadget_erp5_page_ojs_upload_js.xml
...em/web_page_module/ojs_gadget_erp5_page_ojs_upload_js.xml
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/ojs_page_drive_app_add_document_js.js
...tem/web_page_module/ojs_page_drive_app_add_document_js.js
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/ojs_page_drive_app_add_document_js.xml
...em/web_page_module/ojs_page_drive_app_add_document_js.xml
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/ojs_page_drive_app_car_js.js
...TemplateItem/web_page_module/ojs_page_drive_app_car_js.js
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/ojs_page_drive_app_car_js.xml
...emplateItem/web_page_module/ojs_page_drive_app_car_js.xml
+3
-3
bt5/erp5_officejs/PathTemplateItem/web_site_module/officejs_pdf_viewer.xml
.../PathTemplateItem/web_site_module/officejs_pdf_viewer.xml
+3
-3
bt5/erp5_officejs/PathTemplateItem/web_site_module/officejs_pdf_viewer/app.xml
...hTemplateItem/web_site_module/officejs_pdf_viewer/app.xml
+3
-3
bt5/erp5_officejs/PathTemplateItem/web_site_module/officejs_text_editor.xml
...PathTemplateItem/web_site_module/officejs_text_editor.xml
+3
-3
bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_bookmark_zuite/testOfficeJSBookmarkManager.zpt
...fficejs_ui_bookmark_zuite/testOfficeJSBookmarkManager.zpt
+15
-0
bt5/erp5_sql_browser_ui_test/PathTemplateItem/portal_tests/sql_browser_zuite/test_query_commands_out_of_sync.xml
...sts/sql_browser_zuite/test_query_commands_out_of_sync.xml
+58
-0
bt5/erp5_sql_browser_ui_test/PathTemplateItem/portal_tests/sql_browser_zuite/test_query_commands_out_of_sync.zpt
...sts/sql_browser_zuite/test_query_commands_out_of_sync.zpt
+73
-0
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_launcher_js.js
...mplateItem/web_page_module/rjs_gadget_erp5_launcher_js.js
+53
-10
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_launcher_js.xml
...plateItem/web_page_module/rjs_gadget_erp5_launcher_js.xml
+2
-2
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_renderjs_js.js
...js_ui/PathTemplateItem/web_page_module/rjs_renderjs_js.js
+20
-7
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_renderjs_js.xml
...s_ui/PathTemplateItem/web_page_module/rjs_renderjs_js.xml
+2
-2
product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/erp5_gadgetfield.js.js
...Item/portal_skins/erp5_xhtml_style/erp5_gadgetfield.js.js
+1
-1
product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/renderjs.js.js
...TemplateItem/portal_skins/erp5_xhtml_style/renderjs.js.js
+20
-7
product/ZMySQLDA/db.py
product/ZMySQLDA/db.py
+10
-4
No files found.
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_bookmark_page_add_bookmark_js.js
View file @
336384d8
...
@@ -34,7 +34,7 @@
...
@@ -34,7 +34,7 @@
.
declareMethod
(
"
triggerSubmit
"
,
function
()
{
.
declareMethod
(
"
triggerSubmit
"
,
function
()
{
return
this
.
element
.
querySelector
(
'
button[type="submit"]
'
).
click
();
return
this
.
element
.
querySelector
(
'
button[type="submit"]
'
).
click
();
})
}
,
{
mutex
:
'
render
'
}
)
.
declareMethod
(
"
render
"
,
function
(
options
)
{
.
declareMethod
(
"
render
"
,
function
(
options
)
{
var
gadget
=
this
;
var
gadget
=
this
;
...
@@ -139,5 +139,5 @@
...
@@ -139,5 +139,5 @@
save_action
:
true
save_action
:
true
});
});
});
});
});
}
,
{
mutex
:
'
render
'
}
);
}(
window
,
rJS
,
RSVP
));
}(
window
,
rJS
,
RSVP
));
\ No newline at end of file
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_bookmark_page_add_bookmark_js.xml
View file @
336384d8
...
@@ -69,7 +69,9 @@
...
@@ -69,7 +69,9 @@
</item>
</item>
<item>
<item>
<key>
<string>
content_type
</string>
</key>
<key>
<string>
content_type
</string>
</key>
<value>
<string>
text/javascript
</string>
</value>
<value>
<none/>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
default_reference
</string>
</key>
<key>
<string>
default_reference
</string>
</key>
...
@@ -246,7 +248,7 @@
...
@@ -246,7 +248,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
961.40804.27282.46165
</string>
</value>
<value>
<string>
1005.28363.57004.238
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -264,7 +266,7 @@
...
@@ -264,7 +266,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
1
503577300.12
</float>
<float>
1
672905960.69
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_bookmark_page_preference_js.js
View file @
336384d8
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
/////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////
.
declareMethod
(
'
triggerSubmit
'
,
function
()
{
.
declareMethod
(
'
triggerSubmit
'
,
function
()
{
return
this
.
element
.
querySelector
(
'
button[type="submit"]
'
).
click
();
return
this
.
element
.
querySelector
(
'
button[type="submit"]
'
).
click
();
})
}
,
{
mutex
:
'
render
'
}
)
.
declareMethod
(
"
render
"
,
function
()
{
.
declareMethod
(
"
render
"
,
function
()
{
var
gadget
=
this
;
var
gadget
=
this
;
...
@@ -44,7 +44,7 @@
...
@@ -44,7 +44,7 @@
)).
href
)).
href
});
});
});
});
})
}
,
{
mutex
:
'
render
'
}
)
.
onStateChange
(
function
()
{
.
onStateChange
(
function
()
{
var
gadget
=
this
;
var
gadget
=
this
;
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_bookmark_page_preference_js.xml
View file @
336384d8
...
@@ -248,7 +248,7 @@
...
@@ -248,7 +248,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
61.52328.26727.8140
</string>
</value>
<value>
<string>
9
91.25773.59047.44168
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -266,7 +266,7 @@
...
@@ -266,7 +266,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
1
514905729.94
</float>
<float>
1
672735984.79
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_bookmark_view_js.js
View file @
336384d8
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
jio_key
:
options
.
jio_key
,
jio_key
:
options
.
jio_key
,
doc
:
options
.
doc
doc
:
options
.
doc
});
});
})
}
,
{
mutex
:
'
render
'
}
)
.
onEvent
(
'
submit
'
,
function
()
{
.
onEvent
(
'
submit
'
,
function
()
{
var
gadget
=
this
;
var
gadget
=
this
;
...
@@ -49,7 +49,7 @@
...
@@ -49,7 +49,7 @@
.
declareMethod
(
"
triggerSubmit
"
,
function
()
{
.
declareMethod
(
"
triggerSubmit
"
,
function
()
{
return
this
.
element
.
querySelector
(
'
button[type="submit"]
'
).
click
();
return
this
.
element
.
querySelector
(
'
button[type="submit"]
'
).
click
();
})
}
,
{
mutex
:
'
render
'
}
)
.
onStateChange
(
function
()
{
.
onStateChange
(
function
()
{
var
gadget
=
this
;
var
gadget
=
this
;
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_bookmark_view_js.xml
View file @
336384d8
...
@@ -69,7 +69,9 @@
...
@@ -69,7 +69,9 @@
</item>
</item>
<item>
<item>
<key>
<string>
content_type
</string>
</key>
<key>
<string>
content_type
</string>
</key>
<value>
<string>
text/javascript
</string>
</value>
<value>
<none/>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
default_reference
</string>
</key>
<key>
<string>
default_reference
</string>
</key>
...
@@ -226,7 +228,7 @@
...
@@ -226,7 +228,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
actor
</string>
</key>
<key>
<string>
actor
</string>
</key>
<value>
<string>
vincent
</string>
</value>
<value>
<string>
zope
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
comment
</string>
</key>
<key>
<string>
comment
</string>
</key>
...
@@ -240,7 +242,7 @@
...
@@ -240,7 +242,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
62.37366.56810.4899
8
</string>
</value>
<value>
<string>
9
91.25773.59047.4416
8
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -258,7 +260,7 @@
...
@@ -258,7 +260,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
1
507217051.4
5
</float>
<float>
1
672735611.3
5
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_controller_page_local_controller_js.js
View file @
336384d8
/*global document, window, rJS,
RSVP,
jIO, console */
/*global document, window, rJS, jIO, console */
/*jslint nomen: true, indent: 2, maxerr: 10, maxlen: 80 */
/*jslint nomen: true, indent: 2, maxerr: 10, maxlen: 80 */
(
function
(
document
,
window
,
rJS
,
RSVP
,
jIO
,
console
)
{
(
function
(
document
,
window
,
rJS
,
jIO
,
console
)
{
"
use strict
"
;
"
use strict
"
;
rJS
(
window
)
rJS
(
window
)
...
@@ -115,7 +115,7 @@
...
@@ -115,7 +115,7 @@
}
}
throw
error
;
throw
error
;
});
});
})
}
,
{
mutex
:
'
render
'
}
)
.
onStateChange
(
function
()
{
.
onStateChange
(
function
()
{
var
fragment
=
document
.
createElement
(
'
div
'
),
var
fragment
=
document
.
createElement
(
'
div
'
),
...
@@ -131,15 +131,10 @@
...
@@ -131,15 +131,10 @@
}
}
gadget
.
element
.
appendChild
(
fragment
);
gadget
.
element
.
appendChild
(
fragment
);
return
gadget
.
declareGadget
(
view_gadget_url
,
return
gadget
.
declareGadget
(
view_gadget_url
,
{
element
:
fragment
,
scope
:
'
form_view
'
})
{
element
:
fragment
,
scope
:
'
officejs_form_view
'
})
.
push
(
function
(
form_view_gadget
)
{
.
push
(
function
(
form_view_gadget
)
{
return
form_view_gadget
.
render
(
gadget
.
state
);
return
form_view_gadget
.
render
(
gadget
.
state
);
},
function
(
error
)
{
console
.
log
(
error
);
return
gadget
.
notifySubmitted
({
message
:
"
Error rendering view
"
,
status
:
"
error
"
});
})
})
.
push
(
function
()
{
.
push
(
function
()
{
return
gadget
.
updatePanel
({
return
gadget
.
updatePanel
({
...
@@ -176,10 +171,10 @@
...
@@ -176,10 +171,10 @@
.
declareMethod
(
"
triggerSubmit
"
,
function
()
{
.
declareMethod
(
"
triggerSubmit
"
,
function
()
{
var
argument_list
=
arguments
;
var
argument_list
=
arguments
;
return
this
.
getDeclaredGadget
(
'
form_view
'
)
return
this
.
getDeclaredGadget
(
'
officejs_
form_view
'
)
.
push
(
function
(
view_gadget
)
{
.
push
(
function
(
view_gadget
)
{
return
view_gadget
.
triggerSubmit
(
argument_list
);
return
view_gadget
.
triggerSubmit
(
argument_list
);
});
});
});
}
,
{
mutex
:
'
render
'
}
);
}(
document
,
window
,
rJS
,
RSVP
,
jIO
,
console
));
}(
document
,
window
,
rJS
,
jIO
,
console
));
\ No newline at end of file
\ No newline at end of file
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_controller_page_local_controller_js.xml
View file @
336384d8
...
@@ -234,7 +234,7 @@
...
@@ -234,7 +234,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
100
1.7199.47519.3730
7
</string>
</value>
<value>
<string>
100
5.39859.38086.2945
7
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -252,7 +252,7 @@
...
@@ -252,7 +252,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
16
58943004.35
</float>
<float>
16
73426666.06
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_erp5_page_import_js.js
View file @
336384d8
...
@@ -74,7 +74,7 @@
...
@@ -74,7 +74,7 @@
page_title
:
"
Import
"
page_title
:
"
Import
"
});
});
});
});
})
}
,
{
mutex
:
'
render
'
}
)
.
declareMethod
(
"
triggerSubmit
"
,
function
()
{
.
declareMethod
(
"
triggerSubmit
"
,
function
()
{
var
gadget
=
this
;
var
gadget
=
this
;
...
@@ -83,9 +83,8 @@
...
@@ -83,9 +83,8 @@
return
form_gadget
.
getContent
();
return
form_gadget
.
getContent
();
})
})
.
push
(
function
(
doc
)
{
.
push
(
function
(
doc
)
{
debugger
;
return
gadget
.
jio_put
(
gadget
.
state
.
jio_key
,
doc
);
return
gadget
.
jio_put
(
gadget
.
state
.
jio_key
,
doc
);
});
});
});
}
,
{
mutex
:
'
render
'
}
);
}(
window
,
rJS
,
RSVP
));
}(
window
,
rJS
,
RSVP
));
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_erp5_page_import_js.xml
View file @
336384d8
...
@@ -231,7 +231,7 @@
...
@@ -231,7 +231,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
960.1356.43876.49698
</string>
</value>
<value>
<string>
1005.28353.40730.58436
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -249,7 +249,7 @@
...
@@ -249,7 +249,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
1
497364640.96
</float>
<float>
1
672735657.15
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_form_view_js.js
View file @
336384d8
...
@@ -197,7 +197,7 @@
...
@@ -197,7 +197,7 @@
if
(
!
content_dict
)
{
return
;
}
if
(
!
content_dict
)
{
return
;
}
return
handleSubmit
(
gadget
,
child_gadget
,
content_dict
);
return
handleSubmit
(
gadget
,
child_gadget
,
content_dict
);
});
});
})
}
,
{
mutex
:
'
render
'
}
)
.
declareMethod
(
"
render
"
,
function
(
options
)
{
.
declareMethod
(
"
render
"
,
function
(
options
)
{
var
gadget
=
this
,
var
gadget
=
this
,
...
@@ -237,7 +237,7 @@
...
@@ -237,7 +237,7 @@
}
}
}
}
return
gadget
.
changeState
(
state_dict
);
return
gadget
.
changeState
(
state_dict
);
})
}
,
{
mutex
:
'
render
'
}
)
.
onStateChange
(
function
onStateChange
()
{
.
onStateChange
(
function
onStateChange
()
{
var
fragment
=
document
.
createElement
(
'
div
'
),
var
fragment
=
document
.
createElement
(
'
div
'
),
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_form_view_js.xml
View file @
336384d8
...
@@ -275,7 +275,7 @@
...
@@ -275,7 +275,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
79.7520.54247.47189
</string>
</value>
<value>
<string>
9
91.25773.59047.44168
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -293,7 +293,7 @@
...
@@ -293,7 +293,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
1
571065315.5
</float>
<float>
1
672736671.72
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_drive_record_view_js.js
View file @
336384d8
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
jio_key
:
options
.
jio_key
,
jio_key
:
options
.
jio_key
,
doc
:
options
.
doc
doc
:
options
.
doc
});
});
})
}
,
{
mutex
:
'
render
'
}
)
.
onEvent
(
'
change
'
,
function
(
event
)
{
.
onEvent
(
'
change
'
,
function
(
event
)
{
var
gadget
=
this
;
var
gadget
=
this
;
...
@@ -82,7 +82,7 @@
...
@@ -82,7 +82,7 @@
.
declareMethod
(
"
triggerSubmit
"
,
function
()
{
.
declareMethod
(
"
triggerSubmit
"
,
function
()
{
return
this
.
element
.
querySelector
(
'
button[type="submit"]
'
).
click
();
return
this
.
element
.
querySelector
(
'
button[type="submit"]
'
).
click
();
})
}
,
{
mutex
:
'
render
'
}
)
.
onStateChange
(
function
()
{
.
onStateChange
(
function
()
{
var
gadget
=
this
;
var
gadget
=
this
;
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_drive_record_view_js.xml
View file @
336384d8
...
@@ -242,7 +242,7 @@
...
@@ -242,7 +242,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
61.57547.51724.61252
</string>
</value>
<value>
<string>
9
91.25773.59047.44168
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -260,7 +260,7 @@
...
@@ -260,7 +260,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
1
504582352.71
</float>
<float>
1
672735738.4
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_multi_upload_js.js
View file @
336384d8
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
return
gadget
.
changeState
({
return
gadget
.
changeState
({
title
:
'
Untitled Document
'
title
:
'
Untitled Document
'
});
});
})
}
,
{
mutex
:
'
render
'
}
)
.
declareMethod
(
'
putIntoDB
'
,
function
(
data
,
portal_type
,
parent_relative_url
)
{
.
declareMethod
(
'
putIntoDB
'
,
function
(
data
,
portal_type
,
parent_relative_url
)
{
var
gadget
=
this
,
var
gadget
=
this
,
...
@@ -100,7 +100,7 @@
...
@@ -100,7 +100,7 @@
})
})
]);
]);
});
});
})
}
,
{
mutex
:
'
render
'
}
)
.
onStateChange
(
function
()
{
.
onStateChange
(
function
()
{
var
gadget
=
this
;
var
gadget
=
this
;
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_multi_upload_js.xml
View file @
336384d8
...
@@ -244,7 +244,7 @@
...
@@ -244,7 +244,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
89.27524.31537.13687
</string>
</value>
<value>
<string>
9
91.25773.59047.44168
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -262,7 +262,7 @@
...
@@ -262,7 +262,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
16
13148513.02
</float>
<float>
16
72737034.05
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_notebook_view.js.js
View file @
336384d8
...
@@ -24,7 +24,7 @@
...
@@ -24,7 +24,7 @@
jio_key
:
options
.
jio_key
,
jio_key
:
options
.
jio_key
,
doc
:
options
.
doc
doc
:
options
.
doc
});
});
})
}
,
{
mutex
:
'
render
'
}
)
.
onEvent
(
'
submit
'
,
function
()
{
.
onEvent
(
'
submit
'
,
function
()
{
var
gadget
=
this
;
var
gadget
=
this
;
...
@@ -45,7 +45,7 @@
...
@@ -45,7 +45,7 @@
.
declareMethod
(
"
triggerSubmit
"
,
function
()
{
.
declareMethod
(
"
triggerSubmit
"
,
function
()
{
return
this
.
element
.
querySelector
(
'
button[type="submit"]
'
).
click
();
return
this
.
element
.
querySelector
(
'
button[type="submit"]
'
).
click
();
})
}
,
{
mutex
:
'
render
'
}
)
.
onStateChange
(
function
()
{
.
onStateChange
(
function
()
{
var
gadget
=
this
;
var
gadget
=
this
;
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_notebook_view.js.xml
View file @
336384d8
...
@@ -242,7 +242,7 @@
...
@@ -242,7 +242,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
86.53108.46138.3464
</string>
</value>
<value>
<string>
9
91.25773.59047.44168
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -260,7 +260,7 @@
...
@@ -260,7 +260,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
16
00891646.9
</float>
<float>
16
72736991.67
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_pdf_view_js.js
View file @
336384d8
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
jio_key
:
options
.
jio_key
,
jio_key
:
options
.
jio_key
,
doc
:
options
.
doc
doc
:
options
.
doc
});
});
})
}
,
{
mutex
:
'
render
'
}
)
.
onEvent
(
'
submit
'
,
function
()
{
.
onEvent
(
'
submit
'
,
function
()
{
var
gadget
=
this
,
data
;
var
gadget
=
this
,
data
;
...
@@ -55,7 +55,7 @@
...
@@ -55,7 +55,7 @@
.
declareMethod
(
"
triggerSubmit
"
,
function
()
{
.
declareMethod
(
"
triggerSubmit
"
,
function
()
{
return
this
.
element
.
querySelector
(
'
button[type="submit"]
'
).
click
();
return
this
.
element
.
querySelector
(
'
button[type="submit"]
'
).
click
();
})
}
,
{
mutex
:
'
render
'
}
)
.
onStateChange
(
function
()
{
.
onStateChange
(
function
()
{
var
gadget
=
this
,
data
;
var
gadget
=
this
,
data
;
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_pdf_view_js.xml
View file @
336384d8
...
@@ -223,7 +223,7 @@
...
@@ -223,7 +223,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
actor
</string>
</key>
<key>
<string>
actor
</string>
</key>
<value>
<string>
vincent
</string>
</value>
<value>
<string>
zope
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
comment
</string>
</key>
<key>
<string>
comment
</string>
</key>
...
@@ -237,7 +237,7 @@
...
@@ -237,7 +237,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
64.50226.4174.59904
</string>
</value>
<value>
<string>
9
91.25773.59047.44168
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -255,7 +255,7 @@
...
@@ -255,7 +255,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
1
515766769.91
</float>
<float>
1
672736003.06
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_smart_assistant_file_view_js.js
View file @
336384d8
...
@@ -48,7 +48,7 @@
...
@@ -48,7 +48,7 @@
});
});
});
});
})
}
,
{
mutex
:
'
render
'
}
)
.
onEvent
(
'
submit
'
,
function
()
{
.
onEvent
(
'
submit
'
,
function
()
{
var
gadget
=
this
,
var
gadget
=
this
,
...
@@ -90,7 +90,7 @@
...
@@ -90,7 +90,7 @@
})
})
.
declareMethod
(
"
triggerSubmit
"
,
function
()
{
.
declareMethod
(
"
triggerSubmit
"
,
function
()
{
return
this
.
element
.
querySelector
(
'
button[type="submit"]
'
).
click
();
return
this
.
element
.
querySelector
(
'
button[type="submit"]
'
).
click
();
})
}
,
{
mutex
:
'
render
'
}
)
.
onStateChange
(
function
()
{
.
onStateChange
(
function
()
{
var
gadget
=
this
;
var
gadget
=
this
;
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_smart_assistant_file_view_js.xml
View file @
336384d8
...
@@ -245,7 +245,7 @@
...
@@ -245,7 +245,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
80.55724.32706.34986
</string>
</value>
<value>
<string>
9
91.25773.59047.44168
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -263,7 +263,7 @@
...
@@ -263,7 +263,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
1
577801225.8
5
</float>
<float>
1
672736927.3
5
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_smart_assistant_image_view_js.js
View file @
336384d8
...
@@ -50,7 +50,7 @@
...
@@ -50,7 +50,7 @@
});
});
});
});
})
}
,
{
mutex
:
'
render
'
}
)
.
onEvent
(
'
submit
'
,
function
()
{
.
onEvent
(
'
submit
'
,
function
()
{
var
gadget
=
this
,
var
gadget
=
this
,
...
@@ -92,7 +92,7 @@
...
@@ -92,7 +92,7 @@
})
})
.
declareMethod
(
"
triggerSubmit
"
,
function
()
{
.
declareMethod
(
"
triggerSubmit
"
,
function
()
{
return
this
.
element
.
querySelector
(
'
button[type="submit"]
'
).
click
();
return
this
.
element
.
querySelector
(
'
button[type="submit"]
'
).
click
();
})
}
,
{
mutex
:
'
render
'
}
)
.
onStateChange
(
function
()
{
.
onStateChange
(
function
()
{
var
gadget
=
this
,
var
gadget
=
this
,
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_smart_assistant_image_view_js.xml
View file @
336384d8
...
@@ -245,7 +245,7 @@
...
@@ -245,7 +245,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
80.55724.18905.19933
</string>
</value>
<value>
<string>
9
91.25773.59047.44168
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -263,7 +263,7 @@
...
@@ -263,7 +263,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
1
577801156.98
</float>
<float>
1
672736913.84
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_smart_assistant_query_view_js.js
View file @
336384d8
...
@@ -57,7 +57,7 @@
...
@@ -57,7 +57,7 @@
});
});
});
});
})
}
,
{
mutex
:
'
render
'
}
)
.
onEvent
(
'
submit
'
,
function
()
{
.
onEvent
(
'
submit
'
,
function
()
{
var
gadget
=
this
;
var
gadget
=
this
;
...
@@ -83,7 +83,7 @@
...
@@ -83,7 +83,7 @@
})
})
.
declareMethod
(
"
triggerSubmit
"
,
function
()
{
.
declareMethod
(
"
triggerSubmit
"
,
function
()
{
return
this
.
element
.
querySelector
(
'
button[type="submit"]
'
).
click
();
return
this
.
element
.
querySelector
(
'
button[type="submit"]
'
).
click
();
})
}
,
{
mutex
:
'
render
'
}
)
.
onStateChange
(
function
()
{
.
onStateChange
(
function
()
{
var
gadget
=
this
;
var
gadget
=
this
;
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_smart_assistant_query_view_js.xml
View file @
336384d8
...
@@ -245,7 +245,7 @@
...
@@ -245,7 +245,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
80.55652.32652.26572
</string>
</value>
<value>
<string>
9
91.25773.59047.44168
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -263,7 +263,7 @@
...
@@ -263,7 +263,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
1
577798197.4
9
</float>
<float>
1
672736722.8
9
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_smart_assistant_sound_view_js.js
View file @
336384d8
...
@@ -47,7 +47,7 @@
...
@@ -47,7 +47,7 @@
next_url
:
url_list
[
2
]
next_url
:
url_list
[
2
]
});
});
});
});
})
}
,
{
mutex
:
'
render
'
}
)
.
onEvent
(
'
submit
'
,
function
()
{
.
onEvent
(
'
submit
'
,
function
()
{
var
gadget
=
this
,
var
gadget
=
this
,
...
@@ -90,7 +90,7 @@
...
@@ -90,7 +90,7 @@
.
declareMethod
(
"
triggerSubmit
"
,
function
()
{
.
declareMethod
(
"
triggerSubmit
"
,
function
()
{
return
this
.
element
.
querySelector
(
'
button[type="submit"]
'
).
click
();
return
this
.
element
.
querySelector
(
'
button[type="submit"]
'
).
click
();
})
}
,
{
mutex
:
'
render
'
}
)
.
onStateChange
(
function
()
{
.
onStateChange
(
function
()
{
var
gadget
=
this
,
var
gadget
=
this
,
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_smart_assistant_sound_view_js.xml
View file @
336384d8
...
@@ -245,7 +245,7 @@
...
@@ -245,7 +245,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
80.54461.59381.5015
8
</string>
</value>
<value>
<string>
9
91.25773.59047.4416
8
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -263,7 +263,7 @@
...
@@ -263,7 +263,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
1
577801044.1
</float>
<float>
1
672736899.56
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_smart_assistant_text_view_js.js
View file @
336384d8
...
@@ -52,7 +52,7 @@
...
@@ -52,7 +52,7 @@
next_url
:
url_list
[
2
]
next_url
:
url_list
[
2
]
});
});
});
});
})
}
,
{
mutex
:
'
render
'
}
)
.
onEvent
(
'
submit
'
,
function
()
{
.
onEvent
(
'
submit
'
,
function
()
{
var
gadget
=
this
,
var
gadget
=
this
,
...
@@ -85,7 +85,7 @@
...
@@ -85,7 +85,7 @@
})
})
.
declareMethod
(
"
triggerSubmit
"
,
function
()
{
.
declareMethod
(
"
triggerSubmit
"
,
function
()
{
return
this
.
element
.
querySelector
(
'
button[type="submit"]
'
).
click
();
return
this
.
element
.
querySelector
(
'
button[type="submit"]
'
).
click
();
})
}
,
{
mutex
:
'
render
'
}
)
.
onStateChange
(
function
()
{
.
onStateChange
(
function
()
{
var
gadget
=
this
,
var
gadget
=
this
,
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_smart_assistant_text_view_js.xml
View file @
336384d8
...
@@ -245,7 +245,7 @@
...
@@ -245,7 +245,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
80.55722.32852.65126
</string>
</value>
<value>
<string>
9
91.25773.59047.44168
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -263,7 +263,7 @@
...
@@ -263,7 +263,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
1
577801407.55
</float>
<float>
1
672736940.37
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_sound_view_js.js
View file @
336384d8
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
jio_key
:
options
.
jio_key
,
jio_key
:
options
.
jio_key
,
doc
:
options
.
doc
doc
:
options
.
doc
});
});
})
}
,
{
mutex
:
'
render
'
}
)
.
onEvent
(
'
submit
'
,
function
()
{
.
onEvent
(
'
submit
'
,
function
()
{
var
gadget
=
this
;
var
gadget
=
this
;
...
@@ -72,7 +72,7 @@
...
@@ -72,7 +72,7 @@
.
declareMethod
(
"
triggerSubmit
"
,
function
()
{
.
declareMethod
(
"
triggerSubmit
"
,
function
()
{
return
this
.
element
.
querySelector
(
'
button[type="submit"]
'
).
click
();
return
this
.
element
.
querySelector
(
'
button[type="submit"]
'
).
click
();
})
}
,
{
mutex
:
'
render
'
}
)
.
onStateChange
(
function
()
{
.
onStateChange
(
function
()
{
var
gadget
=
this
;
var
gadget
=
this
;
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_sound_view_js.xml
View file @
336384d8
...
@@ -242,7 +242,7 @@
...
@@ -242,7 +242,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
66.48813.59167.2409
8
</string>
</value>
<value>
<string>
9
91.25773.59047.4416
8
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -260,7 +260,7 @@
...
@@ -260,7 +260,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
1
523286693.67
</float>
<float>
1
672736193.2
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_web_illustration_view_js.js
View file @
336384d8
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
jio_key
:
options
.
jio_key
,
jio_key
:
options
.
jio_key
,
doc
:
options
.
doc
doc
:
options
.
doc
});
});
})
}
,
{
mutex
:
'
render
'
}
)
.
onEvent
(
'
submit
'
,
function
()
{
.
onEvent
(
'
submit
'
,
function
()
{
var
gadget
=
this
;
var
gadget
=
this
;
...
@@ -44,7 +44,7 @@
...
@@ -44,7 +44,7 @@
.
declareMethod
(
"
triggerSubmit
"
,
function
()
{
.
declareMethod
(
"
triggerSubmit
"
,
function
()
{
return
this
.
element
.
querySelector
(
'
button[type="submit"]
'
).
click
();
return
this
.
element
.
querySelector
(
'
button[type="submit"]
'
).
click
();
})
}
,
{
mutex
:
'
render
'
}
)
.
onStateChange
(
function
()
{
.
onStateChange
(
function
()
{
var
gadget
=
this
;
var
gadget
=
this
;
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_web_illustration_view_js.xml
View file @
336384d8
...
@@ -263,7 +263,7 @@
...
@@ -263,7 +263,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
actor
</string>
</key>
<key>
<string>
actor
</string>
</key>
<value>
<string>
vincent
</string>
</value>
<value>
<string>
zope
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
comment
</string>
</key>
<key>
<string>
comment
</string>
</key>
...
@@ -277,7 +277,7 @@
...
@@ -277,7 +277,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
64.54546.48173.5239
</string>
</value>
<value>
<string>
9
91.25773.59047.44168
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -295,7 +295,7 @@
...
@@ -295,7 +295,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
1
516028950.4
1
</float>
<float>
1
672736169.0
1
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_web_page_view_js.js
View file @
336384d8
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
jio_key
:
options
.
jio_key
,
jio_key
:
options
.
jio_key
,
doc
:
options
.
doc
doc
:
options
.
doc
});
});
})
}
,
{
mutex
:
'
render
'
}
)
.
onEvent
(
'
submit
'
,
function
()
{
.
onEvent
(
'
submit
'
,
function
()
{
var
gadget
=
this
;
var
gadget
=
this
;
...
@@ -44,7 +44,7 @@
...
@@ -44,7 +44,7 @@
.
declareMethod
(
"
triggerSubmit
"
,
function
()
{
.
declareMethod
(
"
triggerSubmit
"
,
function
()
{
return
this
.
element
.
querySelector
(
'
button[type="submit"]
'
).
click
();
return
this
.
element
.
querySelector
(
'
button[type="submit"]
'
).
click
();
})
}
,
{
mutex
:
'
render
'
}
)
.
onStateChange
(
function
()
{
.
onStateChange
(
function
()
{
var
gadget
=
this
;
var
gadget
=
this
;
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_web_page_view_js.xml
View file @
336384d8
...
@@ -222,7 +222,7 @@
...
@@ -222,7 +222,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
actor
</string>
</key>
<key>
<string>
actor
</string>
</key>
<value>
<string>
vincent
</string>
</value>
<value>
<string>
zope
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
comment
</string>
</key>
<key>
<string>
comment
</string>
</key>
...
@@ -236,7 +236,7 @@
...
@@ -236,7 +236,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
64.48513.5538.10342
</string>
</value>
<value>
<string>
9
91.25773.59047.44168
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -254,7 +254,7 @@
...
@@ -254,7 +254,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
1
515766909.3
3
</float>
<float>
1
672736156.
3
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_web_script_view_js.js
View file @
336384d8
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
jio_key
:
options
.
jio_key
,
jio_key
:
options
.
jio_key
,
doc
:
options
.
doc
doc
:
options
.
doc
});
});
})
}
,
{
mutex
:
'
render
'
}
)
.
onEvent
(
'
submit
'
,
function
()
{
.
onEvent
(
'
submit
'
,
function
()
{
var
gadget
=
this
;
var
gadget
=
this
;
...
@@ -44,7 +44,7 @@
...
@@ -44,7 +44,7 @@
.
declareMethod
(
"
triggerSubmit
"
,
function
()
{
.
declareMethod
(
"
triggerSubmit
"
,
function
()
{
return
this
.
element
.
querySelector
(
'
button[type="submit"]
'
).
click
();
return
this
.
element
.
querySelector
(
'
button[type="submit"]
'
).
click
();
})
}
,
{
mutex
:
'
render
'
}
)
.
onStateChange
(
function
()
{
.
onStateChange
(
function
()
{
var
gadget
=
this
;
var
gadget
=
this
;
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_web_script_view_js.xml
View file @
336384d8
...
@@ -242,7 +242,7 @@
...
@@ -242,7 +242,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
70.25590.5129.16691
</string>
</value>
<value>
<string>
9
91.25773.59047.44168
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -260,7 +260,7 @@
...
@@ -260,7 +260,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
1
537449382.82
</float>
<float>
1
672736397.58
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_handle_action_js.js
View file @
336384d8
...
@@ -147,7 +147,7 @@
...
@@ -147,7 +147,7 @@
}
}
return
gadget
.
changeState
(
state_options
);
return
gadget
.
changeState
(
state_options
);
});
});
})
}
,
{
mutex
:
'
render
'
}
)
.
onStateChange
(
function
()
{
.
onStateChange
(
function
()
{
var
fragment
=
document
.
createElement
(
'
div
'
),
var
fragment
=
document
.
createElement
(
'
div
'
),
...
@@ -173,7 +173,7 @@
...
@@ -173,7 +173,7 @@
.
push
(
function
(
gadget
)
{
.
push
(
function
(
gadget
)
{
return
gadget
.
triggerSubmit
();
return
gadget
.
triggerSubmit
();
});
});
})
}
,
{
mutex
:
'
render
'
}
)
.
allowPublicAcquisition
(
'
submitContent
'
,
function
(
options
)
{
.
allowPublicAcquisition
(
'
submitContent
'
,
function
(
options
)
{
var
gadget
=
this
,
var
gadget
=
this
,
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_handle_action_js.xml
View file @
336384d8
...
@@ -275,7 +275,7 @@
...
@@ -275,7 +275,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
87.1942.40980.22510
</string>
</value>
<value>
<string>
9
91.25773.59047.44168
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -293,7 +293,7 @@
...
@@ -293,7 +293,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
16
01668958.25
</float>
<float>
16
72737010.72
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_jio_dav_configurator_js.js
View file @
336384d8
...
@@ -123,7 +123,7 @@
...
@@ -123,7 +123,7 @@
submit_action
:
true
submit_action
:
true
});
});
});
});
})
}
,
{
mutex
:
'
render
'
}
)
/////////////////////////////////////////
/////////////////////////////////////////
// Form submit
// Form submit
...
@@ -141,7 +141,7 @@
...
@@ -141,7 +141,7 @@
.
declareMethod
(
"
triggerSubmit
"
,
function
()
{
.
declareMethod
(
"
triggerSubmit
"
,
function
()
{
return
this
.
element
.
querySelector
(
'
button[type="submit"]
'
).
click
();
return
this
.
element
.
querySelector
(
'
button[type="submit"]
'
).
click
();
})
}
,
{
mutex
:
'
render
'
}
)
.
declareService
(
function
()
{
.
declareService
(
function
()
{
var
gadget
=
this
;
var
gadget
=
this
;
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_jio_dav_configurator_js.xml
View file @
336384d8
...
@@ -242,7 +242,7 @@
...
@@ -242,7 +242,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
89.27524.31537.13687
</string>
</value>
<value>
<string>
9
91.25773.59047.44168
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -260,7 +260,7 @@
...
@@ -260,7 +260,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
16
13148710.12
</float>
<float>
16
72737160.08
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_jio_erp5_configurator_js.js
View file @
336384d8
...
@@ -185,7 +185,7 @@
...
@@ -185,7 +185,7 @@
.
declareMethod
(
"
triggerSubmit
"
,
function
()
{
.
declareMethod
(
"
triggerSubmit
"
,
function
()
{
return
this
.
element
.
querySelector
(
'
button[type="submit"]
'
).
click
();
return
this
.
element
.
querySelector
(
'
button[type="submit"]
'
).
click
();
})
}
,
{
mutex
:
'
render
'
}
)
.
declareMethod
(
'
render
'
,
function
()
{
.
declareMethod
(
'
render
'
,
function
()
{
var
gadget
=
this
;
var
gadget
=
this
;
...
@@ -198,7 +198,7 @@
...
@@ -198,7 +198,7 @@
panel_action
:
false
panel_action
:
false
});
});
});
});
})
}
,
{
mutex
:
'
render
'
}
)
.
declareService
(
function
()
{
.
declareService
(
function
()
{
var
gadget
=
this
;
var
gadget
=
this
;
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_jio_erp5_configurator_js.xml
View file @
336384d8
...
@@ -277,7 +277,7 @@
...
@@ -277,7 +277,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
77.9115.54748.426
</string>
</value>
<value>
<string>
9
91.25773.59047.44168
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -295,7 +295,7 @@
...
@@ -295,7 +295,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
1
563788084.53
</float>
<float>
1
672736639.88
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_jio_erp5_smart_assistant_text_js.js
View file @
336384d8
...
@@ -77,7 +77,7 @@
...
@@ -77,7 +77,7 @@
.
declareMethod
(
"
triggerSubmit
"
,
function
()
{
.
declareMethod
(
"
triggerSubmit
"
,
function
()
{
return
this
.
element
.
querySelector
(
'
button[type="submit"]
'
).
click
();
return
this
.
element
.
querySelector
(
'
button[type="submit"]
'
).
click
();
})
}
,
{
mutex
:
'
render
'
}
)
.
declareMethod
(
"
render
"
,
function
()
{
.
declareMethod
(
"
render
"
,
function
()
{
var
gadget
=
this
;
var
gadget
=
this
;
...
@@ -139,5 +139,5 @@
...
@@ -139,5 +139,5 @@
selection_url
:
url_list
[
0
]
selection_url
:
url_list
[
0
]
});
});
});
});
});
}
,
{
mutex
:
'
render
'
}
);
}(
document
,
window
,
rJS
,
RSVP
));
}(
document
,
window
,
rJS
,
RSVP
));
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_jio_erp5_smart_assistant_text_js.xml
View file @
336384d8
...
@@ -245,7 +245,7 @@
...
@@ -245,7 +245,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
80.54461.59381.5015
8
</string>
</value>
<value>
<string>
9
91.25773.59047.4416
8
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -263,7 +263,7 @@
...
@@ -263,7 +263,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
1
577787578.24
</float>
<float>
1
672736706.83
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_ojs_linshare_configurator_js.js
View file @
336384d8
...
@@ -124,7 +124,7 @@
...
@@ -124,7 +124,7 @@
url
:
url
url
:
url
});
});
});
});
})
}
,
{
mutex
:
'
render
'
}
)
/////////////////////////////////////////
/////////////////////////////////////////
// Form submit
// Form submit
...
@@ -142,7 +142,7 @@
...
@@ -142,7 +142,7 @@
.
declareMethod
(
"
triggerSubmit
"
,
function
()
{
.
declareMethod
(
"
triggerSubmit
"
,
function
()
{
return
this
.
element
.
querySelector
(
'
button[type="submit"]
'
).
click
();
return
this
.
element
.
querySelector
(
'
button[type="submit"]
'
).
click
();
})
}
,
{
mutex
:
'
render
'
}
)
.
onStateChange
(
function
()
{
.
onStateChange
(
function
()
{
var
gadget
=
this
;
var
gadget
=
this
;
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_ojs_linshare_configurator_js.xml
View file @
336384d8
...
@@ -242,7 +242,7 @@
...
@@ -242,7 +242,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
81.42114.58215.33843
</string>
</value>
<value>
<string>
9
91.25773.59047.44168
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -260,7 +260,7 @@
...
@@ -260,7 +260,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
1
580919827.44
</float>
<float>
1
672736958.41
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/ojs_gadget_erp5_page_ojs_download_convert_js.js
View file @
336384d8
...
@@ -84,7 +84,7 @@
...
@@ -84,7 +84,7 @@
.
declareMethod
(
"
triggerSubmit
"
,
function
()
{
.
declareMethod
(
"
triggerSubmit
"
,
function
()
{
return
this
.
element
.
querySelector
(
'
button[type="submit"]
'
).
click
();
return
this
.
element
.
querySelector
(
'
button[type="submit"]
'
).
click
();
})
}
,
{
mutex
:
'
render
'
}
)
.
declareMethod
(
"
render
"
,
function
(
options
)
{
.
declareMethod
(
"
render
"
,
function
(
options
)
{
var
gadget
=
this
;
var
gadget
=
this
;
...
@@ -103,7 +103,7 @@
...
@@ -103,7 +103,7 @@
download_format
:
options
.
download_format
download_format
:
options
.
download_format
});
});
});
});
})
}
,
{
mutex
:
'
render
'
}
)
.
onStateChange
(
function
()
{
.
onStateChange
(
function
()
{
var
gadget
=
this
,
format_list
;
var
gadget
=
this
,
format_list
;
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/ojs_gadget_erp5_page_ojs_download_convert_js.xml
View file @
336384d8
...
@@ -248,7 +248,7 @@
...
@@ -248,7 +248,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
999.57642.21478.16725
</string>
</value>
<value>
<string>
1002.50599.55503.34918
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -266,7 +266,7 @@
...
@@ -266,7 +266,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
16
55144983.16
</float>
<float>
16
72737212.24
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/ojs_gadget_erp5_page_ojs_upload_convert_js.js
View file @
336384d8
...
@@ -123,7 +123,7 @@
...
@@ -123,7 +123,7 @@
.
declareMethod
(
"
triggerSubmit
"
,
function
()
{
.
declareMethod
(
"
triggerSubmit
"
,
function
()
{
return
this
.
element
.
querySelector
(
'
button[type="submit"]
'
).
click
();
return
this
.
element
.
querySelector
(
'
button[type="submit"]
'
).
click
();
})
}
,
{
mutex
:
'
render
'
}
)
.
declareMethod
(
"
render
"
,
function
()
{
.
declareMethod
(
"
render
"
,
function
()
{
var
gadget
=
this
;
var
gadget
=
this
;
...
@@ -133,7 +133,7 @@
...
@@ -133,7 +133,7 @@
upload
:
window
.
JSON
.
parse
(
upload_dict
)
upload
:
window
.
JSON
.
parse
(
upload_dict
)
});
});
});
});
})
}
,
{
mutex
:
'
render
'
}
)
.
onStateChange
(
function
()
{
.
onStateChange
(
function
()
{
var
gadget
=
this
;
var
gadget
=
this
;
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/ojs_gadget_erp5_page_ojs_upload_convert_js.xml
View file @
336384d8
...
@@ -248,7 +248,7 @@
...
@@ -248,7 +248,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
69.46490.21150.5795
8
</string>
</value>
<value>
<string>
9
91.25773.59047.4416
8
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -266,7 +266,7 @@
...
@@ -266,7 +266,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
1
534779925.16
</float>
<float>
1
672736384.63
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/ojs_gadget_erp5_page_ojs_upload_js.js
View file @
336384d8
...
@@ -95,7 +95,7 @@
...
@@ -95,7 +95,7 @@
.
declareMethod
(
"
triggerSubmit
"
,
function
()
{
.
declareMethod
(
"
triggerSubmit
"
,
function
()
{
return
this
.
element
.
querySelector
(
'
button[type="submit"]
'
).
click
();
return
this
.
element
.
querySelector
(
'
button[type="submit"]
'
).
click
();
})
}
,
{
mutex
:
'
render
'
}
)
.
declareMethod
(
"
render
"
,
function
()
{
.
declareMethod
(
"
render
"
,
function
()
{
var
gadget
=
this
;
var
gadget
=
this
;
...
@@ -105,7 +105,7 @@
...
@@ -105,7 +105,7 @@
upload
:
window
.
JSON
.
parse
(
upload_dict
)
upload
:
window
.
JSON
.
parse
(
upload_dict
)
});
});
});
});
})
}
,
{
mutex
:
'
render
'
}
)
.
onStateChange
(
function
()
{
.
onStateChange
(
function
()
{
var
gadget
=
this
;
var
gadget
=
this
;
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/ojs_gadget_erp5_page_ojs_upload_js.xml
View file @
336384d8
...
@@ -248,7 +248,7 @@
...
@@ -248,7 +248,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
70.54532.18415.44100
</string>
</value>
<value>
<string>
9
91.25773.59047.44168
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -266,7 +266,7 @@
...
@@ -266,7 +266,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
1
539165482.38
</float>
<float>
1
672736425.26
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/ojs_page_drive_app_add_document_js.js
View file @
336384d8
...
@@ -87,7 +87,7 @@
...
@@ -87,7 +87,7 @@
})
})
.
declareMethod
(
"
triggerSubmit
"
,
function
()
{
.
declareMethod
(
"
triggerSubmit
"
,
function
()
{
return
this
.
element
.
querySelector
(
'
button[type="submit"]
'
).
click
();
return
this
.
element
.
querySelector
(
'
button[type="submit"]
'
).
click
();
})
}
,
{
mutex
:
'
render
'
}
)
.
declareMethod
(
"
render
"
,
function
()
{
.
declareMethod
(
"
render
"
,
function
()
{
var
gadget
=
this
;
var
gadget
=
this
;
...
@@ -250,5 +250,5 @@
...
@@ -250,5 +250,5 @@
save_action
:
true
save_action
:
true
});
});
});
});
});
}
,
{
mutex
:
'
render
'
}
);
}(
window
,
rJS
,
RSVP
));
}(
window
,
rJS
,
RSVP
));
\ No newline at end of file
bt5/erp5_officejs/PathTemplateItem/web_page_module/ojs_page_drive_app_add_document_js.xml
View file @
336384d8
...
@@ -277,7 +277,7 @@
...
@@ -277,7 +277,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
961.57527.47460.49561
</string>
</value>
<value>
<string>
1005.28365.27264.750
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -295,7 +295,7 @@
...
@@ -295,7 +295,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
1
504594646.29
</float>
<float>
1
672735767.63
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/ojs_page_drive_app_car_js.js
View file @
336384d8
...
@@ -44,7 +44,7 @@
...
@@ -44,7 +44,7 @@
})
})
.
declareMethod
(
"
triggerSubmit
"
,
function
()
{
.
declareMethod
(
"
triggerSubmit
"
,
function
()
{
return
this
.
element
.
querySelector
(
'
button[type="submit"]
'
).
click
();
return
this
.
element
.
querySelector
(
'
button[type="submit"]
'
).
click
();
})
}
,
{
mutex
:
'
render
'
}
)
.
declareMethod
(
"
render
"
,
function
()
{
.
declareMethod
(
"
render
"
,
function
()
{
var
gadget
=
this
;
var
gadget
=
this
;
...
@@ -97,5 +97,5 @@
...
@@ -97,5 +97,5 @@
save_action
:
true
save_action
:
true
});
});
});
});
});
}
,
{
mutex
:
'
render
'
}
);
}(
window
,
rJS
,
RSVP
));
}(
window
,
rJS
,
RSVP
));
\ No newline at end of file
bt5/erp5_officejs/PathTemplateItem/web_page_module/ojs_page_drive_app_car_js.xml
View file @
336384d8
...
@@ -277,7 +277,7 @@
...
@@ -277,7 +277,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
62.48466.36064.7714
</string>
</value>
<value>
<string>
9
91.25773.59047.44168
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -295,8 +295,8 @@
...
@@ -295,8 +295,8 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
1
507883016.44
</float>
<float>
1
672735802.12
</float>
<string>
GMT+9
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
</object>
</object>
...
...
bt5/erp5_officejs/PathTemplateItem/web_site_module/officejs_pdf_viewer.xml
View file @
336384d8
...
@@ -407,7 +407,7 @@
...
@@ -407,7 +407,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
configuration_content_security_policy
</string>
</key>
<key>
<string>
configuration_content_security_policy
</string>
</key>
<value>
<string>
default-src \'self\'; img-src \'self\' data:; media-src \'self\' blob:; connect-src \'self\' https://content.dropboxapi.com https://api.dropboxapi.com mail.tiolive.com data: *.host.vifib.net *.node.vifib.com *.erp5.net
*.nexedi.net https://netdna.bootstrapcdn.com; script-src \'self\' \'unsafe-eval\' \'unsafe-inline\'; font-src \'self\' netdna.bootstrapcdn.com; style-src \'self\' netdna.bootstrapcdn.com \'unsafe-inline\' data:; frame-src \'self\' data:
</string>
</value>
<value>
<string>
default-src \'self\'; img-src \'self\' data:; media-src \'self\' blob:; connect-src \'self\' https://content.dropboxapi.com https://api.dropboxapi.com mail.tiolive.com data: *.host.vifib.net *.node.vifib.com *.erp5.net
*.nexedi.net https://netdna.bootstrapcdn.com; script-src \'self\' \'unsafe-eval\' \'unsafe-inline\'; font-src \'self\' netdna.bootstrapcdn.com; style-src \'self\' netdna.bootstrapcdn.com \'unsafe-inline\' data:; frame-src \'self\' data:
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
configuration_default_view_action_reference
</string>
</key>
<key>
<string>
configuration_default_view_action_reference
</string>
</key>
...
@@ -661,7 +661,7 @@
...
@@ -661,7 +661,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
99
7.11689.44498.47257
</string>
</value>
<value>
<string>
99
8.17699.36537.24439
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -679,7 +679,7 @@
...
@@ -679,7 +679,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
16
40886274.36
</float>
<float>
16
72916321.43
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_site_module/officejs_pdf_viewer/app.xml
View file @
336384d8
...
@@ -367,7 +367,7 @@
...
@@ -367,7 +367,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
configuration_content_security_policy
</string>
</key>
<key>
<string>
configuration_content_security_policy
</string>
</key>
<value>
<string>
default-src \'self\'; img-src \'self\' data:; media-src \'self\' blob:; connect-src \'self\' https://content.dropboxapi.com https://api.dropboxapi.com mail.tiolive.com data: *.host.vifib.net *.node.vifib.com *.erp5.net
*.nexedi.net https://netdna.bootstrapcdn.com; script-src \'self\' \'unsafe-eval\' \'unsafe-inline\'; font-src \'self\' netdna.bootstrapcdn.com; style-src \'self\' netdna.bootstrapcdn.com \'unsafe-inline\' data:; frame-src \'self\' data:
</string>
</value>
<value>
<string>
default-src \'self\'; img-src \'self\' data:; media-src \'self\' blob:; connect-src \'self\' https://content.dropboxapi.com https://api.dropboxapi.com mail.tiolive.com data: *.host.vifib.net *.node.vifib.com *.erp5.net
*.nexedi.net https://netdna.bootstrapcdn.com; script-src \'self\' \'unsafe-eval\' \'unsafe-inline\'; font-src \'self\' netdna.bootstrapcdn.com; style-src \'self\' netdna.bootstrapcdn.com \'unsafe-inline\' data:; frame-src \'self\' data:
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
configuration_default_jio_document_page_gadget_url
</string>
</key>
<key>
<string>
configuration_default_jio_document_page_gadget_url
</string>
</key>
...
@@ -637,7 +637,7 @@ WebSection_getPDFViewerPrecacheManifestList</string> </value>
...
@@ -637,7 +637,7 @@ WebSection_getPDFViewerPrecacheManifestList</string> </value>
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
99
7.11689.44498.47257
</string>
</value>
<value>
<string>
99
8.17699.36537.24439
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -655,7 +655,7 @@ WebSection_getPDFViewerPrecacheManifestList</string> </value>
...
@@ -655,7 +655,7 @@ WebSection_getPDFViewerPrecacheManifestList</string> </value>
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
16
40886288.57
</float>
<float>
16
72916351.73
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_site_module/officejs_text_editor.xml
View file @
336384d8
...
@@ -407,7 +407,7 @@
...
@@ -407,7 +407,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
configuration_content_security_policy
</string>
</key>
<key>
<string>
configuration_content_security_policy
</string>
</key>
<value>
<string>
default-src \'self\'; img-src \'self\' data:; media-src \'self\' blob:; connect-src \'self\' https://content.dropboxapi.com https://api.dropboxapi.com mail.tiolive.com data: *.host.vifib.net *.node.vifib.com *.erp5.net
*.nexedi.net https://netdna.bootstrapcdn.com; script-src \'self\' \'unsafe-eval\' \'unsafe-inline\'; font-src \'self\' netdna.bootstrapcdn.com; style-src \'self\' netdna.bootstrapcdn.com \'unsafe-inline\' data:; frame-src \'self\' data:
</string>
</value>
<value>
<string>
default-src \'self\'; img-src \'self\' data:; media-src \'self\' blob:; connect-src \'self\' https://content.dropboxapi.com https://api.dropboxapi.com mail.tiolive.com data: *.host.vifib.net *.node.vifib.com *.erp5.net
*.nexedi.net https://netdna.bootstrapcdn.com; script-src \'self\' \'unsafe-eval\' \'unsafe-inline\'; font-src \'self\' netdna.bootstrapcdn.com; style-src \'self\' netdna.bootstrapcdn.com \'unsafe-inline\' data:; frame-src \'self\' data:
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
configuration_default_view_action_reference
</string>
</key>
<key>
<string>
configuration_default_view_action_reference
</string>
</key>
...
@@ -724,7 +724,7 @@
...
@@ -724,7 +724,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
997.11689.44498.47257
</string>
</value>
<value>
<string>
1005.30256.57009.42069
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -742,7 +742,7 @@
...
@@ -742,7 +742,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
16
40885786.6
1
</float>
<float>
16
72851601.5
1
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_bookmark_zuite/testOfficeJSBookmarkManager.zpt
View file @
336384d8
...
@@ -34,6 +34,7 @@
...
@@ -34,6 +34,7 @@
<td>
link=Local is Enough
</td>
<td>
link=Local is Enough
</td>
<td></td>
<td></td>
</tr>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded"
/>
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
link=Add
</td>
<td>
link=Add
</td>
...
@@ -45,6 +46,7 @@
...
@@ -45,6 +46,7 @@
<td>
link=Add
</td>
<td>
link=Add
</td>
<td></td>
<td></td>
</tr>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded"
/>
<tr>
<tr>
<td>
store
</td>
<td>
store
</td>
<td>
My cloud
</td>
<td>
My cloud
</td>
...
@@ -75,17 +77,21 @@
...
@@ -75,17 +77,21 @@
<td>
//button[@data-i18n='Save']
</td>
<td>
//button[@data-i18n='Save']
</td>
<td></td>
<td></td>
</tr>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded"
/>
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
link=Add
</td>
<td>
link=Add
</td>
<td></td>
<td></td>
</tr>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded"
/>
<!-- Save 2nd Bookmark -->
<!-- Save 2nd Bookmark -->
<tr>
<tr>
<td>
click
</td>
<td>
click
</td>
<td>
link=Add
</td>
<td>
link=Add
</td>
<td></td>
<td></td>
</tr>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded"
/>
<tr>
<tr>
<td>
store
</td>
<td>
store
</td>
<td>
My blog
</td>
<td>
My blog
</td>
...
@@ -116,6 +122,9 @@
...
@@ -116,6 +122,9 @@
<td>
//button[@data-i18n='Save']
</td>
<td>
//button[@data-i18n='Save']
</td>
<td></td>
<td></td>
</tr>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded"
/>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded"
/>
<!-- Verify Search -->
<!-- Verify Search -->
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
...
@@ -184,6 +193,7 @@
...
@@ -184,6 +193,7 @@
<td>
//button[@data-i18n='Proceed']
</td>
<td>
//button[@data-i18n='Proceed']
</td>
<td></td>
<td></td>
</tr>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded"
/>
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
//h1[@class='test-script-title']
</td>
<td>
//h1[@class='test-script-title']
</td>
...
@@ -200,6 +210,7 @@
...
@@ -200,6 +210,7 @@
<td>
${base_url}/web_site_module/${install_url}/
</td>
<td>
${base_url}/web_site_module/${install_url}/
</td>
<td></td>
<td></td>
</tr>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_app_loaded"
/>
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
//a[@data-i18n='Search']
</td>
<td>
//a[@data-i18n='Search']
</td>
...
@@ -230,6 +241,7 @@
...
@@ -230,6 +241,7 @@
<td>
//button[@data-i18n='Proceed']
</td>
<td>
//button[@data-i18n='Proceed']
</td>
<td></td>
<td></td>
</tr>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded"
/>
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
identifier=title
</td>
<td>
identifier=title
</td>
...
@@ -250,6 +262,7 @@
...
@@ -250,6 +262,7 @@
<td>
//button[@data-i18n='Save']
</td>
<td>
//button[@data-i18n='Save']
</td>
<td></td>
<td></td>
</tr>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded"
/>
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
link=Add
</td>
<td>
link=Add
</td>
...
@@ -286,6 +299,7 @@
...
@@ -286,6 +299,7 @@
<td>
//button[@data-i18n='Proceed']
</td>
<td>
//button[@data-i18n='Proceed']
</td>
<td></td>
<td></td>
</tr>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded"
/>
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
//h1[@class='test-script-title']
</td>
<td>
//h1[@class='test-script-title']
</td>
...
@@ -313,6 +327,7 @@
...
@@ -313,6 +327,7 @@
<td>
//a[@data-i18n='Preferences']
</td>
<td>
//a[@data-i18n='Preferences']
</td>
<td></td>
<td></td>
</tr>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded"
/>
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
<td>
//input[@name='auto_redirect']
</td>
<td>
//input[@name='auto_redirect']
</td>
...
...
bt5/erp5_sql_browser_ui_test/PathTemplateItem/portal_tests/sql_browser_zuite/test_query_commands_out_of_sync.xml
0 → 100644
View file @
336384d8
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ZopePageTemplate"
module=
"Products.PageTemplates.ZopePageTemplate"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_bind_names
</string>
</key>
<value>
<object>
<klass>
<global
name=
"NameAssignments"
module=
"Shared.DC.Scripts.Bindings"
/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key>
<string>
_asgns
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
name_subpath
</string>
</key>
<value>
<string>
traverse_subpath
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
content_type
</string>
</key>
<value>
<string>
text/html
</string>
</value>
</item>
<item>
<key>
<string>
expand
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
test_query_commands_out_of_sync
</string>
</value>
</item>
<item>
<key>
<string>
output_encoding
</string>
</key>
<value>
<string>
utf-8
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<unicode></unicode>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_sql_browser_ui_test/PathTemplateItem/portal_tests/sql_browser_zuite/test_query_commands_out_of_sync.zpt
0 → 100644
View file @
336384d8
<html
xmlns:tal=
"http://xml.zope.org/namespaces/tal"
xmlns:metal=
"http://xml.zope.org/namespaces/metal"
>
<head>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
>
<title
tal:content=
"template/title_and_id"
></title>
</head>
<body>
<table
cellpadding=
"1"
cellspacing=
"1"
border=
"1"
>
<thead>
<tr>
<td
rowspan=
"1"
colspan=
"3"
tal:content=
"template/title_and_id"
></td>
</tr>
</thead>
<tbody>
<tr>
<td>
open
</td>
<td
tal:content=
"string: ${here/portal_url}/erp5_sql_connection/ZMySQLDAConnection_viewQueryBrowser"
></td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
css=div.monaco-editor.vs
</td>
<td></td>
</tr>
<tr>
<td>
assertEval
</td>
<td>
selenium.browserbot.getCurrentWindow().monaco_editor.trigger('', 'type', {'text': 'select 1+1; select "boom"'})
</td>
<td>
null
</td>
</tr>
<tr>
<td>
click
</td>
<td>
//button[@name="Query"]
</td>
<td></td>
</tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
//div[contains(@class, "noty_message")]/span[@class="noty_text" and contains(text(), "Error")]
</td>
<td></td>
</tr>
<tr>
<td>
assertEval
</td>
<td>
selenium.browserbot.getCurrentWindow().monaco_editor.trigger('', 'editor.action.smartSelect.expand');
selenium.browserbot.getCurrentWindow().monaco_editor.trigger('', 'editor.action.deleteLines');
selenium.browserbot.getCurrentWindow().monaco_editor.trigger('', 'type', {'text': 'select 1+1'})
</td>
<td>
null
</td>
</tr>
<tr>
<td>
click
</td>
<td>
//button[@name="Query"]
</td>
<td></td>
</tr>
<tr>
<td>
waitForText
</td>
<td>
xpath=(//div[contains(@class, "handsontable")]//th//span[@class="colHeader"])[2]
</td>
<td>
1+1
</td>
</tr>
<tr>
<td>
assertText
</td>
<td>
//div[contains(@class, "handsontable")]//tbody/tr/td
</td>
<td>
2
</td>
</tr>
</tbody>
</table>
</body>
</html>
\ No newline at end of file
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_launcher_js.js
View file @
336384d8
/*globals window, document, RSVP, rJS,
/*globals window, document, RSVP, rJS,
URI, location, XMLHttpRequest, console, navigator, Event,
URI, location, XMLHttpRequest, console, navigator, Event,
URL, domsugar*/
URL, domsugar*/
/*jslint indent: 2, maxlen: 80*/
/*jslint indent: 2, maxlen: 80
, unparam: true
*/
(
function
(
window
,
document
,
RSVP
,
rJS
,
(
function
(
window
,
document
,
RSVP
,
rJS
,
XMLHttpRequest
,
location
,
console
,
navigator
,
Event
,
XMLHttpRequest
,
location
,
console
,
navigator
,
Event
,
URL
,
domsugar
)
{
URL
,
domsugar
)
{
...
@@ -506,8 +506,13 @@
...
@@ -506,8 +506,13 @@
// XXX Those methods may be directly integrated into the header,
// XXX Those methods may be directly integrated into the header,
// as it handles the submit triggering
// as it handles the submit triggering
.
allowPublicAcquisition
(
'
notifySubmitting
'
,
function
notifySubmitting
(
.
allowPublicAcquisition
(
'
notifySubmitting
'
,
function
notifySubmitting
(
argument_list
argument_list
,
scope
)
{
)
{
if
(
scope
===
undefined
)
{
// If sub gadget has been dropped, no need to keep notification
return
;
}
return
RSVP
.
all
([
return
RSVP
.
all
([
route
(
this
,
"
header
"
,
'
notifySubmitting
'
),
route
(
this
,
"
header
"
,
'
notifySubmitting
'
),
this
.
deferChangeState
({
this
.
deferChangeState
({
...
@@ -518,8 +523,13 @@
...
@@ -518,8 +523,13 @@
]);
]);
})
})
.
allowPublicAcquisition
(
'
notifySubmitted
'
,
function
notifySubmitted
(
.
allowPublicAcquisition
(
'
notifySubmitted
'
,
function
notifySubmitted
(
argument_list
argument_list
,
scope
)
{
)
{
if
(
scope
===
undefined
)
{
// If sub gadget has been dropped, no need to keep notification
return
;
}
return
RSVP
.
all
([
return
RSVP
.
all
([
route
(
this
,
"
header
"
,
'
notifySubmitted
'
),
route
(
this
,
"
header
"
,
'
notifySubmitted
'
),
this
.
deferChangeState
({
this
.
deferChangeState
({
...
@@ -531,8 +541,13 @@
...
@@ -531,8 +541,13 @@
]);
]);
})
})
.
allowPublicAcquisition
(
'
notifyChange
'
,
function
notifyChange
(
.
allowPublicAcquisition
(
'
notifyChange
'
,
function
notifyChange
(
argument_list
argument_list
,
scope
)
{
)
{
if
(
scope
===
undefined
)
{
// If sub gadget has been dropped, no need to keep notification
return
;
}
return
RSVP
.
all
([
return
RSVP
.
all
([
route
(
this
,
"
header
"
,
'
notifyChange
'
),
route
(
this
,
"
header
"
,
'
notifyChange
'
),
this
.
deferChangeState
({
this
.
deferChangeState
({
...
@@ -606,7 +621,12 @@
...
@@ -606,7 +621,12 @@
return
route
(
this
,
'
router
'
,
'
getCommandUrlForDict
'
,
param_list
);
return
route
(
this
,
'
router
'
,
'
getCommandUrlForDict
'
,
param_list
);
})
})
.
allowPublicAcquisition
(
"
updateHeader
"
,
function
updateHeader
(
param_list
)
{
.
allowPublicAcquisition
(
"
updateHeader
"
,
function
updateHeader
(
param_list
,
scope
)
{
if
(
scope
===
undefined
)
{
// If sub gadget has been dropped, no need to keep notification
return
;
}
initHeaderOptions
(
this
);
initHeaderOptions
(
this
);
var
text_list
=
[],
var
text_list
=
[],
key
,
key
,
...
@@ -631,28 +651,46 @@
...
@@ -631,28 +651,46 @@
});
});
})
})
.
allowPublicAcquisition
(
"
updatePanel
"
,
function
updatePanel
(
param_list
)
{
.
allowPublicAcquisition
(
"
updatePanel
"
,
function
updatePanel
(
param_list
,
scope
)
{
if
(
scope
===
undefined
)
{
// If sub gadget has been dropped, no need to keep notification
return
;
}
var
gadget
=
this
;
var
gadget
=
this
;
initPanelOptions
(
gadget
);
initPanelOptions
(
gadget
);
gadget
.
props
.
panel_argument_list
=
param_list
[
0
];
gadget
.
props
.
panel_argument_list
=
param_list
[
0
];
})
})
.
allowPublicAcquisition
(
'
refreshHeaderAndPanel
'
,
.
allowPublicAcquisition
(
'
refreshHeaderAndPanel
'
,
function
acquireRefreshHeaderAndPanel
()
{
function
acquireRefreshHeaderAndPanel
(
ignore
,
scope
)
{
if
(
scope
===
undefined
)
{
// If sub gadget has been dropped, no need to keep notification
return
;
}
return
refreshHeaderAndPanel
(
this
,
true
);
return
refreshHeaderAndPanel
(
this
,
true
);
})
})
.
allowPublicAcquisition
(
'
hidePanel
'
,
function
hidePanel
(
param_list
)
{
.
allowPublicAcquisition
(
'
hidePanel
'
,
function
hidePanel
(
param_list
)
{
return
hideDesktopPanel
(
this
,
param_list
[
0
]);
return
hideDesktopPanel
(
this
,
param_list
[
0
]);
})
})
.
allowPublicAcquisition
(
'
triggerPanel
'
,
function
triggerPanel
()
{
.
allowPublicAcquisition
(
'
triggerPanel
'
,
function
triggerPanel
(
ignore
,
scope
)
{
if
(
scope
===
undefined
)
{
// If sub gadget has been dropped, no need to keep notification
return
;
}
// Force calling panel toggle
// Force calling panel toggle
return
this
.
deferChangeState
({
return
this
.
deferChangeState
({
panel_visible
:
new
Date
().
getTime
()
panel_visible
:
new
Date
().
getTime
()
});
});
})
})
.
allowPublicAcquisition
(
'
renderEditorPanel
'
,
.
allowPublicAcquisition
(
'
renderEditorPanel
'
,
function
renderEditorPanel
(
param_list
)
{
function
renderEditorPanel
(
param_list
,
scope
)
{
if
(
scope
===
undefined
)
{
// If sub gadget has been dropped, no need to keep notification
return
;
}
return
this
.
deferChangeState
({
return
this
.
deferChangeState
({
// Force calling editor panel render
// Force calling editor panel render
editor_panel_render_timestamp
:
new
Date
().
getTime
(),
editor_panel_render_timestamp
:
new
Date
().
getTime
(),
...
@@ -703,8 +741,13 @@
...
@@ -703,8 +741,13 @@
});
});
})
})
.
allowPublicAcquisition
(
"
triggerMaximize
"
,
function
maximize
(
.
allowPublicAcquisition
(
"
triggerMaximize
"
,
function
maximize
(
param_list
param_list
,
scope
)
{
)
{
if
(
scope
===
undefined
)
{
// If sub gadget has been dropped, nothing to maximize
return
;
}
return
triggerMaximize
(
this
,
param_list
[
0
]);
return
triggerMaximize
(
this
,
param_list
[
0
]);
})
})
/////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////
...
...
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_launcher_js.xml
View file @
336384d8
...
@@ -234,7 +234,7 @@
...
@@ -234,7 +234,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
995.60357.5039.47650
</string>
</value>
<value>
<string>
1005.39881.44610.14899
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -252,7 +252,7 @@
...
@@ -252,7 +252,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
16
39487214.66
</float>
<float>
16
73426576.41
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_renderjs_js.js
View file @
336384d8
...
@@ -992,19 +992,32 @@ if (typeof document.contains !== 'function') {
...
@@ -992,19 +992,32 @@ if (typeof document.contains !== 'function') {
this
.
_latest_promise
=
null
;
this
.
_latest_promise
=
null
;
};
};
function
doNothing
()
{
return
;
}
Mutex
.
prototype
=
{
Mutex
.
prototype
=
{
constructor
:
Mutex
,
constructor
:
Mutex
,
lockAndRun
:
function
lockMutexAndRun
(
callback
)
{
lockAndRun
:
function
lockMutexAndRun
(
callback
)
{
var
previous_promise
=
this
.
_latest_promise
;
var
previous_promise
=
this
.
_latest_promise
,
returned_promise
;
if
(
previous_promise
===
null
)
{
if
(
previous_promise
===
null
)
{
this
.
_latest_promise
=
RSVP
.
resolve
(
callback
());
this
.
_latest_promise
=
RSVP
.
resolve
(
callback
());
}
else
{
return
this
.
_latest_promise
;
this
.
_latest_promise
=
this
.
_latest_promise
}
returned_promise
=
previous_promise
.
always
(
function
()
{
.
always
(
function
()
{
return
callback
();
return
callback
();
});
});
}
// Do not return latest promise, to not allow external caller
return
this
.
_latest_promise
;
// to explicitely cancel it,
// ie, ensure next promise is triggered only when ALL previous
// promised are finished (not only the single previous one)
this
.
_latest_promise
=
RSVP
.
all
([
previous_promise
.
always
(
doNothing
),
returned_promise
.
always
(
doNothing
)
]);
return
returned_promise
;
}
}
};
};
...
...
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_renderjs_js.xml
View file @
336384d8
...
@@ -234,7 +234,7 @@
...
@@ -234,7 +234,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
998.17699.36537.24439
</string>
</value>
<value>
<string>
1004.26548.30757.41045
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -252,7 +252,7 @@
...
@@ -252,7 +252,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
16
68780748.06
</float>
<float>
16
73362285.2
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/erp5_gadgetfield.js.js
View file @
336384d8
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
// Display the error message in the portal_status location
// Display the error message in the portal_status location
// As renderJS does not report which element is failing while loading
// As renderJS does not report which element is failing while loading
// a gadget
// a gadget
var
error_element
=
document
.
getElementById
(
'
transition_message
'
);
var
error_element
=
document
.
querySelector
(
'
.
transition_message
'
);
error_element
.
textContent
=
error
+
'
.
'
+
error_element
.
textContent
;
error_element
.
textContent
=
error
+
'
.
'
+
error_element
.
textContent
;
}
}
...
...
product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/renderjs.js.js
View file @
336384d8
...
@@ -992,19 +992,32 @@ if (typeof document.contains !== 'function') {
...
@@ -992,19 +992,32 @@ if (typeof document.contains !== 'function') {
this
.
_latest_promise
=
null
;
this
.
_latest_promise
=
null
;
};
};
function
doNothing
()
{
return
;
}
Mutex
.
prototype
=
{
Mutex
.
prototype
=
{
constructor
:
Mutex
,
constructor
:
Mutex
,
lockAndRun
:
function
lockMutexAndRun
(
callback
)
{
lockAndRun
:
function
lockMutexAndRun
(
callback
)
{
var
previous_promise
=
this
.
_latest_promise
;
var
previous_promise
=
this
.
_latest_promise
,
returned_promise
;
if
(
previous_promise
===
null
)
{
if
(
previous_promise
===
null
)
{
this
.
_latest_promise
=
RSVP
.
resolve
(
callback
());
this
.
_latest_promise
=
RSVP
.
resolve
(
callback
());
}
else
{
return
this
.
_latest_promise
;
this
.
_latest_promise
=
this
.
_latest_promise
}
returned_promise
=
previous_promise
.
always
(
function
()
{
.
always
(
function
()
{
return
callback
();
return
callback
();
});
});
}
// Do not return latest promise, to not allow external caller
return
this
.
_latest_promise
;
// to explicitely cancel it,
// ie, ensure next promise is triggered only when ALL previous
// promised are finished (not only the single previous one)
this
.
_latest_promise
=
RSVP
.
all
([
previous_promise
.
always
(
doNothing
),
returned_promise
.
always
(
doNothing
)
]);
return
returned_promise
;
}
}
};
};
...
...
product/ZMySQLDA/db.py
View file @
336384d8
...
@@ -115,7 +115,8 @@ from Products.ERP5Type.Utils import str2bytes
...
@@ -115,7 +115,8 @@ from Products.ERP5Type.Utils import str2bytes
hosed_connection
=
(
hosed_connection
=
(
CR
.
SERVER_GONE_ERROR
,
CR
.
SERVER_GONE_ERROR
,
CR
.
SERVER_LOST
CR
.
SERVER_LOST
,
CR
.
COMMANDS_OUT_OF_SYNC
)
)
query_syntax_error
=
(
query_syntax_error
=
(
...
@@ -404,7 +405,12 @@ class DB(TM):
...
@@ -404,7 +405,12 @@ class DB(TM):
else
:
else
:
LOG
(
'ZMySQLDA'
,
ERROR
,
'query failed: %s'
%
(
query
,))
LOG
(
'ZMySQLDA'
,
ERROR
,
'query failed: %s'
%
(
query
,))
raise
raise
except
ProgrammingError
:
except
ProgrammingError
as
m
:
if
(
allow_reconnect
or
not
self
.
_use_TM
)
and
\
m
[
0
]
in
hosed_connection
:
self
.
_forceReconnection
()
self
.
db
.
query
(
query
)
else
:
LOG
(
'ZMySQLDA'
,
ERROR
,
'query failed: %s'
%
(
query
,))
LOG
(
'ZMySQLDA'
,
ERROR
,
'query failed: %s'
%
(
query
,))
raise
raise
try
:
try
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment