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
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Thomas Gambier
erp5
Commits
4da7bc4a
Commit
4da7bc4a
authored
Feb 12, 2021
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_*: use renderJS.loopEventListener
parent
d7e30910
Changes
116
Hide whitespace changes
Inline
Side-by-side
Showing
116 changed files
with
816 additions
and
983 deletions
+816
-983
bt5/erp5_gadget_interface_validator/PathTemplateItem/web_page_module/gadget_interface_validator_panel_js.js
...em/web_page_module/gadget_interface_validator_panel_js.js
+2
-2
bt5/erp5_gadget_interface_validator/PathTemplateItem/web_page_module/gadget_interface_validator_panel_js.xml
...m/web_page_module/gadget_interface_validator_panel_js.xml
+2
-2
bt5/erp5_graph_editor/SkinTemplateItem/portal_skins/erp5_graph_editor/dream_graph_editor/jsplumb/jsplumb.js.js
...rp5_graph_editor/dream_graph_editor/jsplumb/jsplumb.js.js
+2
-2
bt5/erp5_multimedia/SkinTemplateItem/portal_skins/erp5_multimedia/gadget_custom_player.js.js
...m/portal_skins/erp5_multimedia/gadget_custom_player.js.js
+3
-4
bt5/erp5_multimedia/SkinTemplateItem/portal_skins/erp5_multimedia/gadget_custom_player_controller.js.js
...ins/erp5_multimedia/gadget_custom_player_controller.js.js
+2
-2
bt5/erp5_multimedia/SkinTemplateItem/portal_skins/erp5_multimedia/gadget_custom_player_controller_fallback.js.js
...multimedia/gadget_custom_player_controller_fallback.js.js
+2
-3
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_field_graph_echarts_js.js
...lateItem/web_page_module/gadget_field_graph_echarts_js.js
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_field_graph_echarts_js.xml
...ateItem/web_page_module/gadget_field_graph_echarts_js.xml
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_application_panel_js.js
...m/web_page_module/gadget_officejs_application_panel_js.js
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_application_panel_js.xml
.../web_page_module/gadget_officejs_application_panel_js.xml
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_bookmark_panel.js.js
...Item/web_page_module/gadget_officejs_bookmark_panel.js.js
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_bookmark_panel.js.xml
...tem/web_page_module/gadget_officejs_bookmark_panel.js.xml
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_dav_delete_js.js
...lateItem/web_page_module/gadget_officejs_dav_delete_js.js
+162
-162
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_dav_delete_js.xml
...ateItem/web_page_module/gadget_officejs_dav_delete_js.xml
+5
-3
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_erp5_ojs_panel_js.js
...Item/web_page_module/gadget_officejs_erp5_ojs_panel_js.js
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_erp5_ojs_panel_js.xml
...tem/web_page_module/gadget_officejs_erp5_ojs_panel_js.xml
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_header_js.js
...TemplateItem/web_page_module/gadget_officejs_header_js.js
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_header_js.xml
...emplateItem/web_page_module/gadget_officejs_header_js.xml
+3
-3
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_crib_view_js.js
...eItem/web_page_module/gadget_officejs_jio_crib_view_js.js
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_crib_view_js.xml
...Item/web_page_module/gadget_officejs_jio_crib_view_js.xml
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_media_player_panel_js.js
..._page_module/gadget_officejs_jio_media_player_panel_js.js
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_media_player_panel_js.xml
...page_module/gadget_officejs_jio_media_player_panel_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
+3
-3
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_page_application_list_js.js
...b_page_module/gadget_officejs_page_application_list_js.js
+3
-4
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_application_list_js.xml
..._page_module/gadget_officejs_page_application_list_js.xml
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_export_js.js
...ateItem/web_page_module/gadget_officejs_page_export_js.js
+3
-3
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_export_js.xml
...teItem/web_page_module/gadget_officejs_page_export_js.xml
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_jio_configurator_js.js
...b_page_module/gadget_officejs_page_jio_configurator_js.js
+3
-4
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_jio_configurator_js.xml
..._page_module/gadget_officejs_page_jio_configurator_js.xml
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_jio_crib_configurator_js.js
...e_module/gadget_officejs_page_jio_crib_configurator_js.js
+3
-4
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_jio_crib_configurator_js.xml
..._module/gadget_officejs_page_jio_crib_configurator_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
+3
-4
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
+3
-3
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_jio_erp5_link_field_js.js
...age_module/gadget_officejs_page_jio_erp5_link_field_js.js
+1
-1
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_jio_erp5_link_field_js.xml
...ge_module/gadget_officejs_page_jio_erp5_link_field_js.xml
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_jio_erp5_smart_assistant_audio_js.js
...gadget_officejs_page_jio_erp5_smart_assistant_audio_js.js
+3
-3
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_jio_erp5_smart_assistant_audio_js.xml
...adget_officejs_page_jio_erp5_smart_assistant_audio_js.xml
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_panel_smart_assistant_js.js
...b_page_module/gadget_officejs_panel_smart_assistant_js.js
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_panel_smart_assistant_js.xml
..._page_module/gadget_officejs_panel_smart_assistant_js.xml
+165
-151
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_widget_listbox_js.js
...Item/web_page_module/gadget_officejs_widget_listbox_js.js
+156
-156
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_widget_listbox_js.xml
...tem/web_page_module/gadget_officejs_widget_listbox_js.xml
+5
-3
bt5/erp5_officejs/PathTemplateItem/web_page_module/officejs_audioplayer_mixin_promise_js.js
.../web_page_module/officejs_audioplayer_mixin_promise_js.js
+5
-40
bt5/erp5_officejs/PathTemplateItem/web_page_module/officejs_audioplayer_mixin_promise_js.xml
...web_page_module/officejs_audioplayer_mixin_promise_js.xml
+5
-3
bt5/erp5_officejs/PathTemplateItem/web_page_module/ojs_drive_app_panel_js.js
...athTemplateItem/web_page_module/ojs_drive_app_panel_js.js
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/ojs_drive_app_panel_js.xml
...thTemplateItem/web_page_module/ojs_drive_app_panel_js.xml
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/ojs_facebook_configurator_js.js
...plateItem/web_page_module/ojs_facebook_configurator_js.js
+1
-1
bt5/erp5_officejs/PathTemplateItem/web_page_module/ojs_facebook_configurator_js.xml
...lateItem/web_page_module/ojs_facebook_configurator_js.xml
+5
-3
bt5/erp5_officejs/PathTemplateItem/web_page_module/ojs_page_drive_app_configurator_js.js
...tem/web_page_module/ojs_page_drive_app_configurator_js.js
+1
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/ojs_page_drive_app_configurator_js.xml
...em/web_page_module/ojs_page_drive_app_configurator_js.xml
+3
-3
bt5/erp5_officejs/PathTemplateItem/web_page_module/ojs_wallsearch_panel_js.js
...thTemplateItem/web_page_module/ojs_wallsearch_panel_js.js
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/ojs_wallsearch_panel_js.xml
...hTemplateItem/web_page_module/ojs_wallsearch_panel_js.xml
+2
-2
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_afs_panel_js.js
...hTemplateItem/web_page_module/gadget_erp5_afs_panel_js.js
+2
-2
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_afs_panel_js.xml
...TemplateItem/web_page_module/gadget_erp5_afs_panel_js.xml
+2
-2
bt5/erp5_officejs_appstore_base/PathTemplateItem/web_page_module/gadget_ojs_appstore_panel_js.js
...plateItem/web_page_module/gadget_ojs_appstore_panel_js.js
+2
-2
bt5/erp5_officejs_appstore_base/PathTemplateItem/web_page_module/gadget_ojs_appstore_panel_js.xml
...lateItem/web_page_module/gadget_ojs_appstore_panel_js.xml
+2
-2
bt5/erp5_officejs_support_request_ui/PathTemplateItem/web_page_module/gadget_supportrequest_homepage_js.js
...Item/web_page_module/gadget_supportrequest_homepage_js.js
+2
-2
bt5/erp5_officejs_support_request_ui/PathTemplateItem/web_page_module/gadget_supportrequest_homepage_js.xml
...tem/web_page_module/gadget_supportrequest_homepage_js.xml
+3
-3
bt5/erp5_officejs_support_request_ui/PathTemplateItem/web_page_module/gadget_supportrequest_panel_js.js
...ateItem/web_page_module/gadget_supportrequest_panel_js.js
+2
-2
bt5/erp5_officejs_support_request_ui/PathTemplateItem/web_page_module/gadget_supportrequest_panel_js.xml
...teItem/web_page_module/gadget_supportrequest_panel_js.xml
+5
-3
bt5/erp5_simulation_fast_input/SkinTemplateItem/portal_skins/erp5_simulation_fast_input/gadget_solve_divergence_dialog.js.js
...imulation_fast_input/gadget_solve_divergence_dialog.js.js
+2
-51
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_add_comment_js.js
...hTemplateItem/web_page_module/gadget_hr_add_comment_js.js
+1
-1
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_add_comment_js.xml
...TemplateItem/web_page_module/gadget_hr_add_comment_js.xml
+2
-2
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_add_expense_sheet_view_js.js
...em/web_page_module/gadget_hr_add_expense_sheet_view_js.js
+1
-1
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_add_expense_sheet_view_js.xml
...m/web_page_module/gadget_hr_add_expense_sheet_view_js.xml
+3
-3
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_expense_record_view_js.js
...eItem/web_page_module/gadget_hr_expense_record_view_js.js
+1
-1
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_expense_record_view_js.xml
...Item/web_page_module/gadget_hr_expense_record_view_js.xml
+3
-3
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_expense_report_js.js
...mplateItem/web_page_module/gadget_hr_expense_report_js.js
+1
-1
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_expense_report_js.xml
...plateItem/web_page_module/gadget_hr_expense_report_js.xml
+2
-2
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_leave_request_view_js.js
...teItem/web_page_module/gadget_hr_leave_request_view_js.js
+1
-1
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_leave_request_view_js.xml
...eItem/web_page_module/gadget_hr_leave_request_view_js.xml
+2
-2
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_mission_request_record_view_js.js
...b_page_module/gadget_hr_mission_request_record_view_js.js
+1
-1
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_mission_request_record_view_js.xml
..._page_module/gadget_hr_mission_request_record_view_js.xml
+2
-2
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_page_calendar_js.js
...emplateItem/web_page_module/gadget_hr_page_calendar_js.js
+1
-1
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_page_calendar_js.xml
...mplateItem/web_page_module/gadget_hr_page_calendar_js.xml
+2
-2
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_page_front_js.js
...thTemplateItem/web_page_module/gadget_hr_page_front_js.js
+2
-2
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_page_front_js.xml
...hTemplateItem/web_page_module/gadget_hr_page_front_js.xml
+3
-3
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_page_jio_configurator_js.js
...tem/web_page_module/gadget_hr_page_jio_configurator_js.js
+2
-2
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_page_jio_configurator_js.xml
...em/web_page_module/gadget_hr_page_jio_configurator_js.xml
+6
-4
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_page_jio_dav_configurator_js.js
...web_page_module/gadget_hr_page_jio_dav_configurator_js.js
+2
-2
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_page_jio_dav_configurator_js.xml
...eb_page_module/gadget_hr_page_jio_dav_configurator_js.xml
+3
-3
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_page_jio_erp5_configurator_js.js
...eb_page_module/gadget_hr_page_jio_erp5_configurator_js.js
+3
-3
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_page_jio_erp5_configurator_js.xml
...b_page_module/gadget_hr_page_jio_erp5_configurator_js.xml
+3
-3
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_router_js.js
...e/PathTemplateItem/web_page_module/gadget_hr_router_js.js
+2
-2
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_router_js.xml
.../PathTemplateItem/web_page_module/gadget_hr_router_js.xml
+2
-2
bt5/erp5_web_ecommerce/PathTemplateItem/web_page_module/gadget_e5g_ecommerce_panel_js.js
...lateItem/web_page_module/gadget_e5g_ecommerce_panel_js.js
+2
-2
bt5/erp5_web_ecommerce/PathTemplateItem/web_page_module/gadget_e5g_ecommerce_panel_js.xml
...ateItem/web_page_module/gadget_e5g_ecommerce_panel_js.xml
+3
-3
bt5/erp5_web_ecrm/PathTemplateItem/web_page_module/gadget_e5g_ecrm_panel_js.js
...hTemplateItem/web_page_module/gadget_e5g_ecrm_panel_js.js
+2
-2
bt5/erp5_web_ecrm/PathTemplateItem/web_page_module/gadget_e5g_ecrm_panel_js.xml
...TemplateItem/web_page_module/gadget_e5g_ecrm_panel_js.xml
+3
-3
bt5/erp5_web_ehr/PathTemplateItem/web_page_module/gadget_e5g_ehr_panel_js.js
...thTemplateItem/web_page_module/gadget_e5g_ehr_panel_js.js
+2
-2
bt5/erp5_web_ehr/PathTemplateItem/web_page_module/gadget_e5g_ehr_panel_js.xml
...hTemplateItem/web_page_module/gadget_e5g_ehr_panel_js.xml
+3
-3
bt5/erp5_web_eproject/PathTemplateItem/web_page_module/gadget_e5g_eproject_panel_js.js
...plateItem/web_page_module/gadget_e5g_eproject_panel_js.js
+2
-2
bt5/erp5_web_eproject/PathTemplateItem/web_page_module/gadget_e5g_eproject_panel_js.xml
...lateItem/web_page_module/gadget_e5g_eproject_panel_js.xml
+3
-3
bt5/erp5_web_jabber_client/PathTemplateItem/web_page_module/jabber_gadget_jio_js.js
.../PathTemplateItem/web_page_module/jabber_gadget_jio_js.js
+2
-2
bt5/erp5_web_jabber_client/PathTemplateItem/web_page_module/jabber_gadget_jio_js.xml
...PathTemplateItem/web_page_module/jabber_gadget_jio_js.xml
+2
-2
bt5/erp5_web_jabber_client/PathTemplateItem/web_page_module/jabber_gadget_panel_js.js
...athTemplateItem/web_page_module/jabber_gadget_panel_js.js
+2
-2
bt5/erp5_web_jabber_client/PathTemplateItem/web_page_module/jabber_gadget_panel_js.xml
...thTemplateItem/web_page_module/jabber_gadget_panel_js.xml
+2
-2
bt5/erp5_web_js_style/SkinTemplateItem/portal_skins/erp5_web_js_style_ui/jsstyle.js.js
...plateItem/portal_skins/erp5_web_js_style_ui/jsstyle.js.js
+2
-2
bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_header_js.js
...TemplateItem/web_page_module/gadget_manifest_header_js.js
+2
-2
bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_header_js.xml
...emplateItem/web_page_module/gadget_manifest_header_js.xml
+3
-3
bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_js.js
...st/PathTemplateItem/web_page_module/gadget_manifest_js.js
+2
-2
bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_js.xml
...t/PathTemplateItem/web_page_module/gadget_manifest_js.xml
+2
-2
bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_page_components_js.js
...tem/web_page_module/gadget_manifest_page_components_js.js
+2
-2
bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_page_components_js.xml
...em/web_page_module/gadget_manifest_page_components_js.xml
+3
-3
bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_panel_js.js
...hTemplateItem/web_page_module/gadget_manifest_panel_js.js
+2
-2
bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_panel_js.xml
...TemplateItem/web_page_module/gadget_manifest_panel_js.xml
+3
-3
bt5/erp5_web_monitoring/PathTemplateItem/web_page_module/gadget_officejs_monitoring_panel_js.js
...em/web_page_module/gadget_officejs_monitoring_panel_js.js
+2
-2
bt5/erp5_web_monitoring/PathTemplateItem/web_page_module/gadget_officejs_monitoring_panel_js.xml
...m/web_page_module/gadget_officejs_monitoring_panel_js.xml
+5
-3
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_js.js
...ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_js.js
+2
-2
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_js.xml
...i/PathTemplateItem/web_page_module/rjs_gadget_erp5_js.xml
+2
-2
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_router_js.js
...TemplateItem/web_page_module/rjs_gadget_erp5_router_js.js
+2
-2
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_router_js.xml
...emplateItem/web_page_module/rjs_gadget_erp5_router_js.xml
+2
-2
bt5/officejs_todomvc/PathTemplateItem/web_page_module/officejs_todomvc_gadget_router_js.js
...Item/web_page_module/officejs_todomvc_gadget_router_js.js
+2
-63
bt5/officejs_todomvc/PathTemplateItem/web_page_module/officejs_todomvc_gadget_router_js.xml
...tem/web_page_module/officejs_todomvc_gadget_router_js.xml
+69
-0
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/gadget_callable_run.js.js
...lateItem/portal_skins/erp5_core/gadget_callable_run.js.js
+2
-62
product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_ckeditor/ckeditor.gadget.js.js
...lateItem/portal_skins/erp5_ckeditor/ckeditor.gadget.js.js
+2
-54
No files found.
bt5/erp5_gadget_interface_validator/PathTemplateItem/web_page_module/gadget_interface_validator_panel_js.js
View file @
4da7bc4a
/*jslint nomen: true, indent: 2, maxerr: 3, unparam: true */
/*global window, document, rJS, Handlebars, RSVP, Node
, loopEventListener
*/
/*global window, document, rJS, Handlebars, RSVP, Node */
(
function
(
window
,
document
,
rJS
,
Handlebars
,
RSVP
,
Node
,
loopEventListener
)
{
"
use strict
"
;
...
...
@@ -235,4 +235,4 @@
}
},
false
,
false
);
}(
window
,
document
,
rJS
,
Handlebars
,
RSVP
,
Node
,
loopEventListener
));
}(
window
,
document
,
rJS
,
Handlebars
,
RSVP
,
Node
,
rJS
.
loopEventListener
));
bt5/erp5_gadget_interface_validator/PathTemplateItem/web_page_module/gadget_interface_validator_panel_js.xml
View file @
4da7bc4a
...
...
@@ -236,7 +236,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
68.34033.5348.45653
</string>
</value>
<value>
<string>
9
89.27525.21955.33160
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -254,7 +254,7 @@
</tuple>
<state>
<tuple>
<float>
1
530177764.8
5
</float>
<float>
1
613145214.7
5
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_graph_editor/SkinTemplateItem/portal_skins/erp5_graph_editor/dream_graph_editor/jsplumb/jsplumb.js.js
View file @
4da7bc4a
...
...
@@ -17,7 +17,7 @@
* along with DREAM. If not, see <http://www.gnu.org/licenses/>.
* ==========================================================================*/
/*global console, window, Node, RSVP, rJS, $, jsPlumb, Handlebars,
loopEventListener,
promiseEventListener, DOMParser, Springy */
promiseEventListener, DOMParser, Springy */
/*jslint vars: true unparam: true nomen: true todo: true */
(
function
(
RSVP
,
rJS
,
$
,
jsPlumb
,
Handlebars
,
loopEventListener
,
promiseEventListener
,
DOMParser
,
Springy
)
{
"
use strict
"
;
...
...
@@ -867,4 +867,4 @@
]);
});
}(
RSVP
,
rJS
,
$
,
jsPlumb
,
Handlebars
,
loopEventListener
,
promiseEventListener
,
DOMParser
,
Springy
));
\ No newline at end of file
}(
RSVP
,
rJS
,
$
,
jsPlumb
,
Handlebars
,
rJS
.
loopEventListener
,
promiseEventListener
,
DOMParser
,
Springy
));
\ No newline at end of file
bt5/erp5_multimedia/SkinTemplateItem/portal_skins/erp5_multimedia/gadget_custom_player.js.js
View file @
4da7bc4a
/*global window, rJS, RSVP, jIO, MediaSource,
loopEventListener
/*global window, rJS, RSVP, jIO, MediaSource
*/
/*jslint nomen: true, indent: 2, maxerr: 3 */
(
function
(
window
,
rJS
)
{
(
function
(
window
,
rJS
,
loopEventListener
)
{
"
use strict
"
;
rJS
(
window
)
...
...
@@ -172,4 +171,4 @@
true
);
});
}(
window
,
rJS
));
\ No newline at end of file
}(
window
,
rJS
,
rJS
.
loopEventListener
));
\ No newline at end of file
bt5/erp5_multimedia/SkinTemplateItem/portal_skins/erp5_multimedia/gadget_custom_player_controller.js.js
View file @
4da7bc4a
/*global window, rJS, RSVP, jIO, AudioContext,
URL, MediaSource,
loopEventListener,
document,
URL, MediaSource, document,
promiseEventListener, ArrayBuffer */
/*jslint nomen: true, indent: 2, maxerr: 3 */
(
function
(
window
,
rJS
,
RSVP
,
AudioContext
,
URL
,
MediaSource
,
loopEventListener
)
{
...
...
@@ -254,4 +254,4 @@
}
});
});
}(
window
,
rJS
,
RSVP
,
AudioContext
,
URL
,
MediaSource
,
loopEventListener
));
\ No newline at end of file
}(
window
,
rJS
,
RSVP
,
AudioContext
,
URL
,
MediaSource
,
rJS
.
loopEventListener
));
\ No newline at end of file
bt5/erp5_multimedia/SkinTemplateItem/portal_skins/erp5_multimedia/gadget_custom_player_controller_fallback.js.js
View file @
4da7bc4a
/*global window, rJS, RSVP, URL, Blob,
loopEventListener, document*/
/*global window, rJS, RSVP, URL, Blob, document*/
/*jslint nomen: true, indent: 2, maxerr: 3 */
(
function
(
window
,
rJS
,
RSVP
,
URL
,
loopEventListener
)
{
"
use strict
"
;
...
...
@@ -134,4 +133,4 @@
}
});
});
}(
window
,
rJS
,
RSVP
,
URL
,
loopEventListener
));
\ No newline at end of file
}(
window
,
rJS
,
RSVP
,
URL
,
rJS
.
loopEventListener
));
\ No newline at end of file
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_field_graph_echarts_js.js
View file @
4da7bc4a
/*global window, rJS, RSVP, echarts
, loopEventListener
*/
/*global window, rJS, RSVP, echarts */
/*jslint nomen: true, indent: 2, unparam: true */
(
function
(
window
,
rJS
,
RSVP
,
echarts
,
loopEventListener
)
{
"
use strict
"
;
...
...
@@ -292,4 +292,4 @@
gadget
.
changeState
({
clickHandlerReady
:
true
})
]);
});
}(
window
,
rJS
,
RSVP
,
echarts
,
loopEventListener
));
}(
window
,
rJS
,
RSVP
,
echarts
,
rJS
.
loopEventListener
));
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_field_graph_echarts_js.xml
View file @
4da7bc4a
...
...
@@ -246,7 +246,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
98
3.46019.14276.4242
7
</string>
</value>
<value>
<string>
98
9.27524.31537.1368
7
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -264,7 +264,7 @@
</tuple>
<state>
<tuple>
<float>
1
588756120.87
</float>
<float>
1
613148110.9
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_application_panel_js.js
View file @
4da7bc4a
/*jslint nomen: true, indent: 2, maxerr: 3 */
/*global window, rJS, Handlebars, jQuery, RSVP
, loopEventListener
*/
/*global window, rJS, Handlebars, jQuery, RSVP */
(
function
(
window
,
rJS
,
Handlebars
,
$
,
RSVP
,
loopEventListener
)
{
"
use strict
"
;
...
...
@@ -142,4 +142,4 @@
});
}(
window
,
rJS
,
Handlebars
,
jQuery
,
RSVP
,
loopEventListener
));
\ No newline at end of file
}(
window
,
rJS
,
Handlebars
,
jQuery
,
RSVP
,
rJS
.
loopEventListener
));
\ No newline at end of file
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_application_panel_js.xml
View file @
4da7bc4a
...
...
@@ -276,7 +276,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
57.11997.57654.14353
</string>
</value>
<value>
<string>
9
89.27524.31537.13687
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -294,7 +294,7 @@
</tuple>
<state>
<tuple>
<float>
1
486556869.31
</float>
<float>
1
613148142.64
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_bookmark_panel.js.js
View file @
4da7bc4a
/*jslint nomen: true, indent: 2, maxerr: 3, unparam: true */
/*global window, document, rJS, Handlebars, RSVP, Node
, loopEventListener
*/
/*global window, document, rJS, Handlebars, RSVP, Node */
(
function
(
window
,
document
,
rJS
,
Handlebars
,
RSVP
,
Node
,
loopEventListener
)
{
"
use strict
"
;
...
...
@@ -302,4 +302,4 @@
}
},
true
,
false
);
}(
window
,
document
,
rJS
,
Handlebars
,
RSVP
,
Node
,
loopEventListener
));
}(
window
,
document
,
rJS
,
Handlebars
,
RSVP
,
Node
,
rJS
.
loopEventListener
));
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_bookmark_panel.js.xml
View file @
4da7bc4a
...
...
@@ -231,7 +231,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
61.9269.443.55364
</string>
</value>
<value>
<string>
9
89.27524.31537.13687
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -249,7 +249,7 @@
</tuple>
<state>
<tuple>
<float>
1
501746660.8
</float>
<float>
1
613148177.99
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_dav_delete_js.js
View file @
4da7bc4a
/*global window, rJS, RSVP, URI, location,
loopEventListener, btoa */
/*jslint nomen: true, indent: 2, maxerr: 3*/
(
function
(
window
,
rJS
,
RSVP
)
{
"
use strict
"
;
function
setjIODAVConfiguration
(
gadget
)
{
return
gadget
.
getSetting
(
"
portal_type
"
)
.
push
(
function
(
portal_type
)
{
var
old_date
=
new
Date
(),
configuration
=
{};
// We are looking for documents modified in the past 3 month
old_date
=
new
Date
(
old_date
.
getFullYear
(),
old_date
.
getMonth
()
-
3
);
configuration
=
{
type
:
"
replicate
"
,
// XXX This drop the signature lists...
query
:
{
query
:
'
portal_type:"
'
+
portal_type
+
'
"
'
,
// XX Synchonizing the whole module is too much, here is a way to start quietly
//+ 'AND local_roles: ("Owner") '
//+ 'AND validation_state: ("draft", "released_alive", "shared_alive", "published_alive") ',
limit
:
[
0
,
1234567890
]
},
use_remote_post
:
false
,
conflict_handling
:
2
,
check_local_modification
:
true
,
check_local_creation
:
true
,
check_local_deletion
:
true
,
check_remote_modification
:
true
,
check_remote_creation
:
true
,
check_remote_deletion
:
true
,
local_sub_storage
:
{
type
:
"
mapping
"
,
attachment_mapping_dict
:
{
'
data
'
:
{
get
:
{
uri_template
:
'
enclosure
'
},
put
:
{
uri_template
:
'
enclosure
'
}
}
},
sub_storage
:
{
type
:
"
query
"
,
sub_storage
:
{
type
:
"
uuid
"
,
sub_storage
:
{
type
:
"
indexeddb
"
,
database
:
"
officejs-dav
"
}
}
}
},
remote_sub_storage
:
{
type
:
"
mapping
"
,
attachment_mapping_dict
:
{
'
data
'
:
{
get
:
{
uri_template
:
'
enclosure
'
},
put
:
{
uri_template
:
'
enclosure
'
}
}
},
sub_storage
:
{
type
:
"
query
"
,
sub_storage
:
{
type
:
"
drivetojiomapping
"
,
sub_storage
:
{
type
:
"
mapping
"
,
mapping_dict
:
{
"
portal_type
"
:
{
"
equal
"
:
"
type
"
,
"
value
"
:
{
"
switch
"
:
{
"
PDF
"
:
{
"
equal
"
:
"
pdf
"
},
"
Web Text
"
:
{
"
equal
"
:
"
txt
"
}
}
}
}
},
sub_storage
:
{
type
:
"
dav
"
,
url
:
gadget
.
props
.
element
.
querySelector
(
"
input[name='dav_url']
"
).
value
,
basic_login
:
btoa
(
gadget
.
props
.
element
.
querySelector
(
"
input[name='dav_username']
"
).
value
+
'
:
'
+
gadget
.
props
.
element
.
querySelector
(
"
input[name='dav_password']
"
).
value
),
with_credentials
:
true
}
}
}
}
}
};
return
gadget
.
setSetting
(
'
jio_storage_description
'
,
configuration
);
})
.
push
(
function
()
{
return
gadget
.
setSetting
(
'
jio_storage_name
'
,
"
DAV
"
);
})
.
push
(
function
()
{
return
gadget
.
reload
();
});
}
var
gadget_klass
=
rJS
(
window
);
gadget_klass
.
ready
(
function
(
g
)
{
g
.
props
=
{};
return
g
.
getElement
()
.
push
(
function
(
element
)
{
g
.
props
.
element
=
element
;
g
.
props
.
deferred
=
RSVP
.
defer
();
return
g
.
getSetting
(
'
jio_storage_name
'
);
})
.
push
(
function
(
jio_storage_name
)
{
if
(
jio_storage_name
===
"
DAV
"
)
{
return
g
.
getSetting
(
'
jio_storage_description
'
)
.
push
(
function
(
jio_storage_description
)
{
g
.
props
.
element
.
querySelector
(
"
input[name='dav_url']
"
).
value
=
jio_storage_description
.
remote_sub_storage
.
sub_storage
.
sub_storage
.
url
;
});
}
});
})
.
declareAcquiredMethod
(
"
updateHeader
"
,
"
updateHeader
"
)
.
declareAcquiredMethod
(
"
redirect
"
,
"
redirect
"
)
.
declareAcquiredMethod
(
"
reload
"
,
"
reload
"
)
.
declareAcquiredMethod
(
"
getSetting
"
,
"
getSetting
"
)
.
declareAcquiredMethod
(
"
setSetting
"
,
"
setSetting
"
)
.
declareMethod
(
"
render
"
,
function
()
{
var
gadget
=
this
;
return
gadget
.
updateHeader
({
title
:
"
Connect To DAV Storage
"
,
back_url
:
"
#page=jio_configurator
"
,
panel_action
:
false
}).
push
(
function
()
{
return
gadget
.
props
.
deferred
.
resolve
();
});
})
/////////////////////////////////////////
// Form submit
/////////////////////////////////////////
.
declareService
(
function
()
{
var
gadget
=
this
;
return
new
RSVP
.
Queue
()
.
push
(
function
()
{
return
gadget
.
props
.
deferred
.
promise
;
})
.
push
(
function
()
{
return
loopEventListener
(
gadget
.
props
.
element
.
querySelector
(
'
form
'
),
'
submit
'
,
true
,
function
()
{
return
setjIODAVConfiguration
(
gadget
);
}
);
});
});
}(
window
,
rJS
,
RSVP
));
\ No newline at end of file
/*global window, rJS, RSVP, URI, location,
btoa */
/*jslint nomen: true, indent: 2, maxerr: 3*/
(
function
(
window
,
rJS
,
RSVP
,
loopEventListener
)
{
"
use strict
"
;
function
setjIODAVConfiguration
(
gadget
)
{
return
gadget
.
getSetting
(
"
portal_type
"
)
.
push
(
function
(
portal_type
)
{
var
old_date
=
new
Date
(),
configuration
=
{};
// We are looking for documents modified in the past 3 month
old_date
=
new
Date
(
old_date
.
getFullYear
(),
old_date
.
getMonth
()
-
3
);
configuration
=
{
type
:
"
replicate
"
,
// XXX This drop the signature lists...
query
:
{
query
:
'
portal_type:"
'
+
portal_type
+
'
"
'
,
// XX Synchonizing the whole module is too much, here is a way to start quietly
//+ 'AND local_roles: ("Owner") '
//+ 'AND validation_state: ("draft", "released_alive", "shared_alive", "published_alive") ',
limit
:
[
0
,
1234567890
]
},
use_remote_post
:
false
,
conflict_handling
:
2
,
check_local_modification
:
true
,
check_local_creation
:
true
,
check_local_deletion
:
true
,
check_remote_modification
:
true
,
check_remote_creation
:
true
,
check_remote_deletion
:
true
,
local_sub_storage
:
{
type
:
"
mapping
"
,
attachment_mapping_dict
:
{
'
data
'
:
{
get
:
{
uri_template
:
'
enclosure
'
},
put
:
{
uri_template
:
'
enclosure
'
}
}
},
sub_storage
:
{
type
:
"
query
"
,
sub_storage
:
{
type
:
"
uuid
"
,
sub_storage
:
{
type
:
"
indexeddb
"
,
database
:
"
officejs-dav
"
}
}
}
},
remote_sub_storage
:
{
type
:
"
mapping
"
,
attachment_mapping_dict
:
{
'
data
'
:
{
get
:
{
uri_template
:
'
enclosure
'
},
put
:
{
uri_template
:
'
enclosure
'
}
}
},
sub_storage
:
{
type
:
"
query
"
,
sub_storage
:
{
type
:
"
drivetojiomapping
"
,
sub_storage
:
{
type
:
"
mapping
"
,
mapping_dict
:
{
"
portal_type
"
:
{
"
equal
"
:
"
type
"
,
"
value
"
:
{
"
switch
"
:
{
"
PDF
"
:
{
"
equal
"
:
"
pdf
"
},
"
Web Text
"
:
{
"
equal
"
:
"
txt
"
}
}
}
}
},
sub_storage
:
{
type
:
"
dav
"
,
url
:
gadget
.
props
.
element
.
querySelector
(
"
input[name='dav_url']
"
).
value
,
basic_login
:
btoa
(
gadget
.
props
.
element
.
querySelector
(
"
input[name='dav_username']
"
).
value
+
'
:
'
+
gadget
.
props
.
element
.
querySelector
(
"
input[name='dav_password']
"
).
value
),
with_credentials
:
true
}
}
}
}
}
};
return
gadget
.
setSetting
(
'
jio_storage_description
'
,
configuration
);
})
.
push
(
function
()
{
return
gadget
.
setSetting
(
'
jio_storage_name
'
,
"
DAV
"
);
})
.
push
(
function
()
{
return
gadget
.
reload
();
});
}
var
gadget_klass
=
rJS
(
window
);
gadget_klass
.
ready
(
function
(
g
)
{
g
.
props
=
{};
return
g
.
getElement
()
.
push
(
function
(
element
)
{
g
.
props
.
element
=
element
;
g
.
props
.
deferred
=
RSVP
.
defer
();
return
g
.
getSetting
(
'
jio_storage_name
'
);
})
.
push
(
function
(
jio_storage_name
)
{
if
(
jio_storage_name
===
"
DAV
"
)
{
return
g
.
getSetting
(
'
jio_storage_description
'
)
.
push
(
function
(
jio_storage_description
)
{
g
.
props
.
element
.
querySelector
(
"
input[name='dav_url']
"
).
value
=
jio_storage_description
.
remote_sub_storage
.
sub_storage
.
sub_storage
.
url
;
});
}
});
})
.
declareAcquiredMethod
(
"
updateHeader
"
,
"
updateHeader
"
)
.
declareAcquiredMethod
(
"
redirect
"
,
"
redirect
"
)
.
declareAcquiredMethod
(
"
reload
"
,
"
reload
"
)
.
declareAcquiredMethod
(
"
getSetting
"
,
"
getSetting
"
)
.
declareAcquiredMethod
(
"
setSetting
"
,
"
setSetting
"
)
.
declareMethod
(
"
render
"
,
function
()
{
var
gadget
=
this
;
return
gadget
.
updateHeader
({
title
:
"
Connect To DAV Storage
"
,
back_url
:
"
#page=jio_configurator
"
,
panel_action
:
false
}).
push
(
function
()
{
return
gadget
.
props
.
deferred
.
resolve
();
});
})
/////////////////////////////////////////
// Form submit
/////////////////////////////////////////
.
declareService
(
function
()
{
var
gadget
=
this
;
return
new
RSVP
.
Queue
()
.
push
(
function
()
{
return
gadget
.
props
.
deferred
.
promise
;
})
.
push
(
function
()
{
return
loopEventListener
(
gadget
.
props
.
element
.
querySelector
(
'
form
'
),
'
submit
'
,
true
,
function
()
{
return
setjIODAVConfiguration
(
gadget
);
}
);
});
});
}(
window
,
rJS
,
RSVP
,
rJS
.
loopEventListener
));
\ No newline at end of file
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_dav_delete_js.xml
View file @
4da7bc4a
...
...
@@ -69,7 +69,9 @@
</item>
<item>
<key>
<string>
content_type
</string>
</key>
<value>
<string>
text/javascript
</string>
</value>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
default_reference
</string>
</key>
...
...
@@ -240,7 +242,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
56.64653.18502.64853
</string>
</value>
<value>
<string>
9
89.27524.31537.13687
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -258,7 +260,7 @@
</tuple>
<state>
<tuple>
<float>
1
485781872.54
</float>
<float>
1
613148230.16
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_erp5_ojs_panel_js.js
View file @
4da7bc4a
/*jslint nomen: true, indent: 2, maxerr: 3, unparam: true */
/*global window, document, rJS, Handlebars, RSVP, Node
, loopEventListener
*/
/*global window, document, rJS, Handlebars, RSVP, Node */
(
function
(
window
,
document
,
rJS
,
Handlebars
,
RSVP
,
Node
,
loopEventListener
)
{
"
use strict
"
;
...
...
@@ -394,4 +394,4 @@
}
},
true
,
false
);
}(
window
,
document
,
rJS
,
Handlebars
,
RSVP
,
Node
,
loopEventListener
));
}(
window
,
document
,
rJS
,
Handlebars
,
RSVP
,
Node
,
rJS
.
loopEventListener
));
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_erp5_ojs_panel_js.xml
View file @
4da7bc4a
...
...
@@ -231,7 +231,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
79.60628.36308.55278
</string>
</value>
<value>
<string>
9
89.27524.31537.13687
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -249,7 +249,7 @@
</tuple>
<state>
<tuple>
<float>
1
574249684.83
</float>
<float>
1
613148260.92
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_header_js.js
View file @
4da7bc4a
/*jslint nomen: true, indent: 2, maxerr: 3 */
/*global window, rJS, Handlebars, document,
loopEventListener,
RSVP */
/*global window, rJS, Handlebars, document, RSVP */
(
function
(
window
,
rJS
,
Handlebars
,
document
,
loopEventListener
,
RSVP
)
{
"
use strict
"
;
...
...
@@ -325,4 +325,4 @@
);
});
}(
window
,
rJS
,
Handlebars
,
document
,
loopEventListener
,
RSVP
));
\ No newline at end of file
}(
window
,
rJS
,
Handlebars
,
document
,
rJS
.
loopEventListener
,
RSVP
));
\ No newline at end of file
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_header_js.xml
View file @
4da7bc4a
...
...
@@ -220,7 +220,7 @@
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
vincent
</string>
</value>
<value>
<string>
zope
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
...
...
@@ -234,7 +234,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
61.17525.46862.41420
</string>
</value>
<value>
<string>
9
89.27524.31537.13687
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -252,7 +252,7 @@
</tuple>
<state>
<tuple>
<float>
1
509358444.1
4
</float>
<float>
1
613148401.5
4
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_crib_view_js.js
View file @
4da7bc4a
/*globals window, rJS, Handlebars, RSVP,
loopEventListener,
console*/
/*globals window, rJS, Handlebars, RSVP, console*/
/*jslint indent: 2, nomen: true, maxlen: 80*/
(
function
(
window
,
RSVP
,
rJS
,
Handlebars
,
loopEventListener
)
{
"
use strict
"
;
...
...
@@ -224,4 +224,4 @@
});
});
}(
window
,
RSVP
,
rJS
,
Handlebars
,
loopEventListener
));
\ No newline at end of file
}(
window
,
RSVP
,
rJS
,
Handlebars
,
rJS
.
loopEventListener
));
\ No newline at end of file
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_crib_view_js.xml
View file @
4da7bc4a
...
...
@@ -237,7 +237,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
58.44217.46814.8652
</string>
</value>
<value>
<string>
9
89.27524.31537.13687
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -255,7 +255,7 @@
</tuple>
<state>
<tuple>
<float>
1
495027908.84
</float>
<float>
1
613148429.19
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_media_player_panel_js.js
View file @
4da7bc4a
/*jslint nomen: true, indent: 2, maxerr: 3, unparam: true */
/*global window, document, rJS, Handlebars, RSVP, Node
, loopEventListener
*/
/*global window, document, rJS, Handlebars, RSVP, Node */
(
function
(
window
,
document
,
rJS
,
Handlebars
,
RSVP
,
Node
,
loopEventListener
)
{
"
use strict
"
;
...
...
@@ -314,4 +314,4 @@
}
},
true
,
false
);
}(
window
,
document
,
rJS
,
Handlebars
,
RSVP
,
Node
,
loopEventListener
));
}(
window
,
document
,
rJS
,
Handlebars
,
RSVP
,
Node
,
rJS
.
loopEventListener
));
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_media_player_panel_js.xml
View file @
4da7bc4a
...
...
@@ -234,7 +234,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
66.18619.5978.10410
</string>
</value>
<value>
<string>
9
89.63663.64953.54152
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -252,7 +252,7 @@
</tuple>
<state>
<tuple>
<float>
1
522144773.61
</float>
<float>
1
613148488.14
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_multi_upload_js.js
View file @
4da7bc4a
/*global window, rJS, RSVP,
loopEventListener,
/*global window, rJS, RSVP,
jIO, document */
/*jslint nomen: true, indent: 2, maxerr: 3 */
(
function
(
window
,
rJS
,
jIO
,
RSVP
)
{
(
function
(
window
,
rJS
,
jIO
,
RSVP
,
loopEventListener
)
{
"
use strict
"
;
var
content_type
=
{
...
...
@@ -151,4 +151,4 @@
});
});
});
}(
window
,
rJS
,
jIO
,
RSVP
));
}(
window
,
rJS
,
jIO
,
RSVP
,
rJS
.
loopEventListener
));
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_multi_upload_js.xml
View file @
4da7bc4a
...
...
@@ -244,7 +244,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
66.34361.37820.6144
</string>
</value>
<value>
<string>
9
89.27524.31537.13687
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -262,7 +262,7 @@
</tuple>
<state>
<tuple>
<float>
1
522420374.86
</float>
<float>
1
613148513.02
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_application_list_js.js
View file @
4da7bc4a
/*global window, document, rJS, RSVP,
loopEventListener*/
/*global window, document, rJS, RSVP*/
/*jslint nomen: true, indent: 2, maxerr: 3*/
(
function
(
window
,
rJS
,
document
,
RSVP
)
{
(
function
(
window
,
rJS
,
document
,
RSVP
,
loopEventListener
)
{
"
use strict
"
;
function
addLine
(
gadget
,
app_name
,
edited_app_dict
)
{
...
...
@@ -54,4 +53,4 @@
});
})
}(
window
,
rJS
,
document
,
RSVP
));
\ No newline at end of file
}(
window
,
rJS
,
document
,
RSVP
,
rJS
.
loopEventListener
));
\ No newline at end of file
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_application_list_js.xml
View file @
4da7bc4a
...
...
@@ -237,7 +237,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
57.15063.30806.32119
</string>
</value>
<value>
<string>
9
89.27524.31537.13687
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -255,7 +255,7 @@
</tuple>
<state>
<tuple>
<float>
1
486736144.05
</float>
<float>
1
613148552.06
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_export_js.js
View file @
4da7bc4a
/*globals window, RSVP, rJS, jIO,
loopEventListener,
URL, document */
/*globals window, RSVP, rJS, jIO, URL, document */
/*jslint nomen: true, indent: 2, maxerr: 3, maxlen: 80 */
(
function
(
window
,
RSVP
,
rJS
,
jIO
,
URL
)
{
(
function
(
window
,
RSVP
,
rJS
,
jIO
,
URL
,
loopEventListener
)
{
"
use strict
"
;
var
origin_url
=
(
window
.
location
.
origin
+
window
.
location
.
pathname
)
...
...
@@ -226,4 +226,4 @@
});
});
}(
window
,
RSVP
,
rJS
,
jIO
,
URL
));
}(
window
,
RSVP
,
rJS
,
jIO
,
URL
,
rJS
.
loopEventListener
));
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_export_js.xml
View file @
4da7bc4a
...
...
@@ -258,7 +258,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
98
6.21093.7100.63419
</string>
</value>
<value>
<string>
98
9.27524.31537.13687
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -276,7 +276,7 @@
</tuple>
<state>
<tuple>
<float>
16
00969351.28
</float>
<float>
16
13148589.32
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_jio_configurator_js.js
View file @
4da7bc4a
/*global window, document, rJS, RSVP, URI, location, Handlebars
loopEventListener*/
/*global window, document, rJS, RSVP, URI, location, Handlebars*/
/*jslint nomen: true, indent: 2, maxerr: 3*/
(
function
(
window
,
rJS
,
RSVP
,
Handlebars
)
{
(
function
(
window
,
rJS
,
RSVP
,
Handlebars
,
loopEventListener
)
{
"
use strict
"
;
/////////////////////////////////////////////////////////////////
...
...
@@ -138,4 +137,4 @@
});
}(
window
,
rJS
,
RSVP
,
Handlebars
));
}(
window
,
rJS
,
RSVP
,
Handlebars
,
rJS
.
loopEventListener
));
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_jio_configurator_js.xml
View file @
4da7bc4a
...
...
@@ -240,7 +240,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
98
0.6862.7827.1604
</string>
</value>
<value>
<string>
98
9.27524.31537.13687
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -258,7 +258,7 @@
</tuple>
<state>
<tuple>
<float>
1
574956283.0
</float>
<float>
1
613148632.58
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_jio_crib_configurator_js.js
View file @
4da7bc4a
/*global window, document, rJS, RSVP, URI, location,
loopEventListener*/
/*global window, document, rJS, RSVP, URI, location*/
/*jslint nomen: true, indent: 2, maxerr: 3*/
(
function
(
window
,
rJS
,
RSVP
)
{
(
function
(
window
,
rJS
,
RSVP
,
loopEventListener
)
{
"
use strict
"
;
function
setCribConfiguration
(
gadget
)
{
...
...
@@ -101,4 +100,4 @@
});
}(
window
,
rJS
,
RSVP
));
\ No newline at end of file
}(
window
,
rJS
,
RSVP
,
rJS
.
loopEventListener
));
\ No newline at end of file
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_jio_crib_configurator_js.xml
View file @
4da7bc4a
...
...
@@ -237,7 +237,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
60.2808.36471.12765
</string>
</value>
<value>
<string>
9
89.27524.31537.13687
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -255,7 +255,7 @@
</tuple>
<state>
<tuple>
<float>
1
497451951.77
</float>
<float>
1
613148671.51
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_jio_dav_configurator_js.js
View file @
4da7bc4a
/*global window, rJS, RSVP, URI, location,
loopEventListener, btoa */
/*global window, rJS, RSVP, URI, location, btoa */
/*jslint nomen: true, indent: 2, maxerr: 3*/
(
function
(
window
,
rJS
,
RSVP
)
{
(
function
(
window
,
rJS
,
RSVP
,
loopEventListener
)
{
"
use strict
"
;
function
setjIODAVConfiguration
(
gadget
,
options
)
{
...
...
@@ -227,4 +226,4 @@
});
});
}(
window
,
rJS
,
RSVP
));
\ No newline at end of file
}(
window
,
rJS
,
RSVP
,
rJS
.
loopEventListener
));
\ No newline at end of file
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_jio_dav_configurator_js.xml
View file @
4da7bc4a
...
...
@@ -228,7 +228,7 @@
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
vincent
</string>
</value>
<value>
<string>
zope
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
...
...
@@ -242,7 +242,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
64.45561.47559.9591
</string>
</value>
<value>
<string>
9
89.27524.31537.13687
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -260,7 +260,7 @@
</tuple>
<state>
<tuple>
<float>
1
515684204.48
</float>
<float>
1
613148710.12
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_jio_erp5_link_field_js.js
View file @
4da7bc4a
/*global window, rJS, jIO, Handlebars, navigator, MediaRecorder, Blob
, loopEventListener
*/
/*global window, rJS, jIO, Handlebars, navigator, MediaRecorder, Blob*/
/*jslint nomen: true, indent: 2, maxerr: 3 */
(
function
(
window
,
rJS
)
{
"
use strict
"
;
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_jio_erp5_link_field_js.xml
View file @
4da7bc4a
...
...
@@ -275,7 +275,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
67.3000.50774.61815
</string>
</value>
<value>
<string>
9
89.27524.31537.13687
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -293,7 +293,7 @@
</tuple>
<state>
<tuple>
<float>
1
525337075.73
</float>
<float>
1
613148813.68
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_jio_erp5_smart_assistant_audio_js.js
View file @
4da7bc4a
/*global document, window, rJS, RSVP,
loopEventListener,
navigator, MediaRecorder, Blob, setInterval, Promise */
/*global document, window, rJS, RSVP, navigator, MediaRecorder, Blob, setInterval, Promise */
/*jslint indent:2, maxlen: 80, nomen: true */
(
function
(
window
,
rJS
,
RSVP
)
{
(
function
(
window
,
rJS
,
RSVP
,
loopEventListener
)
{
"
use strict
"
;
function
promiseMyStream
(
stream_options
,
callback
)
{
...
...
@@ -186,4 +186,4 @@
return
gadget
.
record
();
});
});
}(
window
,
rJS
,
RSVP
));
\ No newline at end of file
}(
window
,
rJS
,
RSVP
,
rJS
.
loopEventListener
));
\ No newline at end of file
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_jio_erp5_smart_assistant_audio_js.xml
View file @
4da7bc4a
...
...
@@ -248,7 +248,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
98
0.54461.59381.50158
</string>
</value>
<value>
<string>
98
9.27524.31537.13687
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -266,7 +266,7 @@
</tuple>
<state>
<tuple>
<float>
1
577787866.92
</float>
<float>
1
613148857.8
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_panel_smart_assistant_js.js
View file @
4da7bc4a
/*jslint nomen: true, indent: 2, maxerr: 3, unparam: true */
/*global window, document, rJS, Handlebars, RSVP, Node
, loopEventListener
*/
/*global window, document, rJS, Handlebars, RSVP, Node */
(
function
(
window
,
document
,
rJS
,
Handlebars
,
RSVP
,
Node
,
loopEventListener
)
{
"
use strict
"
;
...
...
@@ -314,4 +314,4 @@
}
},
true
,
false
);
}(
window
,
document
,
rJS
,
Handlebars
,
RSVP
,
Node
,
loopEventListener
));
}(
window
,
document
,
rJS
,
Handlebars
,
RSVP
,
Node
,
rJS
.
loopEventListener
));
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_panel_smart_assistant_js.xml
View file @
4da7bc4a
...
...
@@ -66,7 +66,9 @@
</item>
<item>
<key>
<string>
content_type
</string>
</key>
<value>
<string>
application/javascript
</string>
</value>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
default_reference
</string>
</key>
...
...
@@ -154,52 +156,56 @@
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<tuple>
<none/>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
publish
</string>
</value>
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
zope
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
error_message
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
time
</string>
</key>
<value>
<object>
<klass>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>
1562163551.28
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
published
</string>
</value>
</item>
</dictionary>
</list>
</tuple>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
publish
</string>
</value>
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
zope
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
error_message
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
time
</string>
</key>
<value>
<object>
<klass>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>
1562163551.28
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
published
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"4"
aka=
"AAAAAAAAAAQ="
>
...
...
@@ -207,58 +213,62 @@
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<tuple>
<none/>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
edit
</string>
</value>
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
zope
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
error_message
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
976.54306.32835.10854
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
<value>
<string>
current
</string>
</value>
</item>
<item>
<key>
<string>
time
</string>
</key>
<value>
<object>
<klass>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>
1562160158.27
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
</dictionary>
</list>
</tuple>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
edit
</string>
</value>
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
zope
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
error_message
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
989.27524.31537.13687
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
<value>
<string>
current
</string>
</value>
</item>
<item>
<key>
<string>
time
</string>
</key>
<value>
<object>
<klass>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>
1613148885.36
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"5"
aka=
"AAAAAAAAAAU="
>
...
...
@@ -266,58 +276,62 @@
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<tuple>
<none/>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
zope
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
error_message
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
external_processing_state
</string>
</key>
<value>
<string>
empty
</string>
</value>
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
0.0.0.0
</string>
</value>
</item>
<item>
<key>
<string>
time
</string>
</key>
<value>
<object>
<klass>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>
1562159899.76
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
</dictionary>
</list>
</tuple>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
zope
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
error_message
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
external_processing_state
</string>
</key>
<value>
<string>
empty
</string>
</value>
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
0.0.0.0
</string>
</value>
</item>
<item>
<key>
<string>
time
</string>
</key>
<value>
<object>
<klass>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>
1562159899.76
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_widget_listbox_js.js
View file @
4da7bc4a
/*global window, rJS, RSVP, Handlebars, loopEventListener */
/*jslint nomen: true, indent: 2 */
(
function
(
window
,
rJS
,
RSVP
,
Handlebars
,
loopEventListener
)
{
"
use strict
"
;
/////////////////////////////////////////////////////////////////
// templates
/////////////////////////////////////////////////////////////////
var
gadget_klass
=
rJS
(
window
),
templater
=
gadget_klass
.
__template_element
,
listbox_widget_table
=
Handlebars
.
compile
(
templater
.
getElementById
(
"
listbox-widget-table
"
).
innerHTML
);
Handlebars
.
registerPartial
(
"
listbox-widget-table-partial
"
,
templater
.
getElementById
(
"
listbox-widget-table-partial
"
).
innerHTML
);
/////////////////////////////////////////////////////////////////
// some methods
/////////////////////////////////////////////////////////////////
gadget_klass
/////////////////////////////////////////////////////////////////
// ready
/////////////////////////////////////////////////////////////////
.
ready
(
function
(
gadget
)
{
gadget
.
property_dict
=
{
render_deferred
:
RSVP
.
defer
()
};
})
.
ready
(
function
(
gadget
)
{
return
gadget
.
getElement
()
.
push
(
function
(
element
)
{
gadget
.
property_dict
.
element
=
element
;
});
})
/////////////////////////////////////////////////////////////////
// published methods
/////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////
// acquired methods
/////////////////////////////////////////////////////////////////
.
declareAcquiredMethod
(
"
jio_allDocs
"
,
"
jio_allDocs
"
)
.
declareAcquiredMethod
(
"
getUrlFor
"
,
"
getUrlFor
"
)
.
declareAcquiredMethod
(
"
translate
"
,
"
translate
"
)
.
declareAcquiredMethod
(
"
redirect
"
,
"
redirect
"
)
/////////////////////////////////////////////////////////////////
// declared methods
/////////////////////////////////////////////////////////////////
.
declareMethod
(
'
render
'
,
function
(
option_dict
)
{
var
gadget
=
this
,
content
=
''
,
k
,
k_len
,
search_list
=
[],
translated_column_list
=
[],
all_docs_result
;
// store initial configuration
gadget
.
property_dict
.
option_dict
=
option_dict
;
// Create the search query
if
(
option_dict
.
search
)
{
for
(
k
=
0
,
k_len
=
option_dict
.
column_list
.
length
;
k
<
k_len
;
k
+=
1
)
{
search_list
.
push
(
option_dict
.
column_list
[
k
].
select
+
'
:"%
'
+
option_dict
.
search
+
'
%"
'
);
}
option_dict
.
query
.
query
=
'
(
'
+
search_list
.
join
(
'
OR
'
)
+
'
) AND
'
+
option_dict
.
query
.
query
;
}
return
gadget
.
jio_allDocs
(
option_dict
.
query
)
.
push
(
function
(
result
)
{
var
promise_list
=
[],
i_len
,
i
;
all_docs_result
=
result
;
for
(
i
=
0
,
i_len
=
result
.
data
.
total_rows
;
i
<
i_len
;
i
+=
1
)
{
promise_list
.
push
(
gadget
.
getUrlFor
({
jio_key
:
result
.
data
.
rows
[
i
].
id
,
page
:
'
view
'
}));
}
return
RSVP
.
all
(
promise_list
);
})
.
push
(
function
(
link_list
)
{
var
row_list
=
[],
cell_list
,
i_len
,
i
,
j_len
,
j
;
// build handlebars object
for
(
j
=
0
,
j_len
=
all_docs_result
.
data
.
total_rows
;
j
<
j_len
;
j
+=
1
)
{
cell_list
=
[];
for
(
i
=
0
,
i_len
=
option_dict
.
column_list
.
length
;
i
<
i_len
;
i
+=
1
)
{
cell_list
.
push
({
"
href
"
:
link_list
[
j
],
"
value
"
:
all_docs_result
.
data
.
rows
[
j
].
value
[
option_dict
.
column_list
[
i
].
select
]
});
}
row_list
.
push
({
"
cell_list
"
:
cell_list
});
}
for
(
i
=
0
;
i
<
option_dict
.
column_list
.
length
;
i
+=
1
)
{
translated_column_list
.
push
(
gadget
.
translate
(
option_dict
.
column_list
[
i
].
title
));
}
return
RSVP
.
all
([
row_list
,
RSVP
.
all
(
translated_column_list
)
]);
})
.
push
(
function
(
result_list
)
{
content
+=
listbox_widget_table
({
widget_theme
:
option_dict
.
widget_theme
,
search
:
option_dict
.
search
,
column_list
:
result_list
[
1
],
row_list
:
result_list
[
0
]
});
gadget
.
property_dict
.
element
.
querySelector
(
"
.custom-grid .ui-body-c
"
)
.
innerHTML
=
content
;
gadget
.
property_dict
.
render_deferred
.
resolve
();
});
})
/////////////////////////////////////////////////////////////////
// declared service
/////////////////////////////////////////////////////////////////
.
declareService
(
function
()
{
var
gadget
=
this
;
return
new
RSVP
.
Queue
()
.
push
(
function
()
{
return
gadget
.
property_dict
.
render_deferred
.
promise
;
})
.
push
(
function
()
{
return
loopEventListener
(
gadget
.
property_dict
.
element
.
querySelector
(
'
form
'
),
'
submit
'
,
false
,
function
(
evt
)
{
return
gadget
.
redirect
({
jio_key
:
gadget
.
property_dict
.
option_dict
.
jio_key
||
''
,
page
:
gadget
.
property_dict
.
option_dict
.
search_page
||
''
,
search
:
evt
.
target
[
0
].
value
});
}
);
});
});
}(
window
,
rJS
,
RSVP
,
Handlebars
,
loopEventListener
));
\ No newline at end of file
/*global window, rJS, RSVP, Handlebars */
/*jslint nomen: true, indent: 2 */
(
function
(
window
,
rJS
,
RSVP
,
Handlebars
,
loopEventListener
)
{
"
use strict
"
;
/////////////////////////////////////////////////////////////////
// templates
/////////////////////////////////////////////////////////////////
var
gadget_klass
=
rJS
(
window
),
templater
=
gadget_klass
.
__template_element
,
listbox_widget_table
=
Handlebars
.
compile
(
templater
.
getElementById
(
"
listbox-widget-table
"
).
innerHTML
);
Handlebars
.
registerPartial
(
"
listbox-widget-table-partial
"
,
templater
.
getElementById
(
"
listbox-widget-table-partial
"
).
innerHTML
);
/////////////////////////////////////////////////////////////////
// some methods
/////////////////////////////////////////////////////////////////
gadget_klass
/////////////////////////////////////////////////////////////////
// ready
/////////////////////////////////////////////////////////////////
.
ready
(
function
(
gadget
)
{
gadget
.
property_dict
=
{
render_deferred
:
RSVP
.
defer
()
};
})
.
ready
(
function
(
gadget
)
{
return
gadget
.
getElement
()
.
push
(
function
(
element
)
{
gadget
.
property_dict
.
element
=
element
;
});
})
/////////////////////////////////////////////////////////////////
// published methods
/////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////
// acquired methods
/////////////////////////////////////////////////////////////////
.
declareAcquiredMethod
(
"
jio_allDocs
"
,
"
jio_allDocs
"
)
.
declareAcquiredMethod
(
"
getUrlFor
"
,
"
getUrlFor
"
)
.
declareAcquiredMethod
(
"
translate
"
,
"
translate
"
)
.
declareAcquiredMethod
(
"
redirect
"
,
"
redirect
"
)
/////////////////////////////////////////////////////////////////
// declared methods
/////////////////////////////////////////////////////////////////
.
declareMethod
(
'
render
'
,
function
(
option_dict
)
{
var
gadget
=
this
,
content
=
''
,
k
,
k_len
,
search_list
=
[],
translated_column_list
=
[],
all_docs_result
;
// store initial configuration
gadget
.
property_dict
.
option_dict
=
option_dict
;
// Create the search query
if
(
option_dict
.
search
)
{
for
(
k
=
0
,
k_len
=
option_dict
.
column_list
.
length
;
k
<
k_len
;
k
+=
1
)
{
search_list
.
push
(
option_dict
.
column_list
[
k
].
select
+
'
:"%
'
+
option_dict
.
search
+
'
%"
'
);
}
option_dict
.
query
.
query
=
'
(
'
+
search_list
.
join
(
'
OR
'
)
+
'
) AND
'
+
option_dict
.
query
.
query
;
}
return
gadget
.
jio_allDocs
(
option_dict
.
query
)
.
push
(
function
(
result
)
{
var
promise_list
=
[],
i_len
,
i
;
all_docs_result
=
result
;
for
(
i
=
0
,
i_len
=
result
.
data
.
total_rows
;
i
<
i_len
;
i
+=
1
)
{
promise_list
.
push
(
gadget
.
getUrlFor
({
jio_key
:
result
.
data
.
rows
[
i
].
id
,
page
:
'
view
'
}));
}
return
RSVP
.
all
(
promise_list
);
})
.
push
(
function
(
link_list
)
{
var
row_list
=
[],
cell_list
,
i_len
,
i
,
j_len
,
j
;
// build handlebars object
for
(
j
=
0
,
j_len
=
all_docs_result
.
data
.
total_rows
;
j
<
j_len
;
j
+=
1
)
{
cell_list
=
[];
for
(
i
=
0
,
i_len
=
option_dict
.
column_list
.
length
;
i
<
i_len
;
i
+=
1
)
{
cell_list
.
push
({
"
href
"
:
link_list
[
j
],
"
value
"
:
all_docs_result
.
data
.
rows
[
j
].
value
[
option_dict
.
column_list
[
i
].
select
]
});
}
row_list
.
push
({
"
cell_list
"
:
cell_list
});
}
for
(
i
=
0
;
i
<
option_dict
.
column_list
.
length
;
i
+=
1
)
{
translated_column_list
.
push
(
gadget
.
translate
(
option_dict
.
column_list
[
i
].
title
));
}
return
RSVP
.
all
([
row_list
,
RSVP
.
all
(
translated_column_list
)
]);
})
.
push
(
function
(
result_list
)
{
content
+=
listbox_widget_table
({
widget_theme
:
option_dict
.
widget_theme
,
search
:
option_dict
.
search
,
column_list
:
result_list
[
1
],
row_list
:
result_list
[
0
]
});
gadget
.
property_dict
.
element
.
querySelector
(
"
.custom-grid .ui-body-c
"
)
.
innerHTML
=
content
;
gadget
.
property_dict
.
render_deferred
.
resolve
();
});
})
/////////////////////////////////////////////////////////////////
// declared service
/////////////////////////////////////////////////////////////////
.
declareService
(
function
()
{
var
gadget
=
this
;
return
new
RSVP
.
Queue
()
.
push
(
function
()
{
return
gadget
.
property_dict
.
render_deferred
.
promise
;
})
.
push
(
function
()
{
return
loopEventListener
(
gadget
.
property_dict
.
element
.
querySelector
(
'
form
'
),
'
submit
'
,
false
,
function
(
evt
)
{
return
gadget
.
redirect
({
jio_key
:
gadget
.
property_dict
.
option_dict
.
jio_key
||
''
,
page
:
gadget
.
property_dict
.
option_dict
.
search_page
||
''
,
search
:
evt
.
target
[
0
].
value
});
}
);
});
});
}(
window
,
rJS
,
RSVP
,
Handlebars
,
rJS
.
loopEventListener
));
\ No newline at end of file
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_widget_listbox_js.xml
View file @
4da7bc4a
...
...
@@ -69,7 +69,9 @@
</item>
<item>
<key>
<string>
content_type
</string>
</key>
<value>
<string>
text/javascript
</string>
</value>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
default_reference
</string>
</key>
...
...
@@ -240,7 +242,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
56.64651.59655.1397
7
</string>
</value>
<value>
<string>
9
89.27524.31537.1368
7
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -258,7 +260,7 @@
</tuple>
<state>
<tuple>
<float>
1
485779785.44
</float>
<float>
1
613148911.65
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/officejs_audioplayer_mixin_promise_js.js
View file @
4da7bc4a
/*global RSVP, FileReader */
/*global RSVP, FileReader
, renderJS
*/
/*jslint unparam: true */
(
function
(
window
,
RSVP
,
FileReader
)
{
(
function
(
window
,
RSVP
,
FileReader
,
renderJS
)
{
"
use strict
"
;
window
.
loopEventListener
=
function
(
target
,
type
,
useCapture
,
callback
,
allowDefault
)
{
//////////////////////////
// Infinite event listener (promise is never resolved)
// eventListener is removed when promise is cancelled/rejected
//////////////////////////
var
handle_event_callback
,
callback_promise
;
function
cancelResolver
()
{
if
(
callback_promise
!==
undefined
&&
typeof
callback_promise
.
cancel
===
"
function
"
)
{
callback_promise
.
cancel
();
}
}
function
canceller
()
{
if
(
handle_event_callback
!==
undefined
)
{
target
.
removeEventListener
(
type
,
handle_event_callback
,
useCapture
);
}
cancelResolver
();
}
function
itsANonResolvableTrap
(
resolve
,
reject
)
{
handle_event_callback
=
function
(
evt
)
{
evt
.
stopPropagation
();
if
(
allowDefault
!==
true
)
{
evt
.
preventDefault
();
}
cancelResolver
();
callback_promise
=
new
RSVP
.
Queue
().
push
(
function
()
{
return
callback
(
evt
);
}).
push
(
undefined
,
function
(
error
)
{
if
(
!
(
error
instanceof
RSVP
.
CancellationError
))
{
canceller
();
reject
(
error
);
}
});
};
target
.
addEventListener
(
type
,
handle_event_callback
,
useCapture
);
}
return
new
RSVP
.
Promise
(
itsANonResolvableTrap
,
canceller
);
};
window
.
loopEventListener
=
renderJS
.
loopEventListener
;
window
.
promiseEventListener
=
function
(
target
,
type
,
useCapture
)
{
//////////////////////////
// Resolve the promise as soon as the event is triggered
...
...
@@ -72,4 +37,4 @@
reader
.
readAsText
(
file
);
});
};
})(
window
,
RSVP
,
FileReader
);
\ No newline at end of file
})(
window
,
RSVP
,
FileReader
,
renderJS
);
\ No newline at end of file
bt5/erp5_officejs/PathTemplateItem/web_page_module/officejs_audioplayer_mixin_promise_js.xml
View file @
4da7bc4a
...
...
@@ -66,7 +66,9 @@
</item>
<item>
<key>
<string>
content_type
</string>
</key>
<value>
<string>
text/javascript
</string>
</value>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
default_reference
</string>
</key>
...
...
@@ -237,7 +239,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
60.13990.48049.16861
</string>
</value>
<value>
<string>
9
89.27524.31537.13687
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -255,7 +257,7 @@
</tuple>
<state>
<tuple>
<float>
1
498122658.08
</float>
<float>
1
613143912.35
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/ojs_drive_app_panel_js.js
View file @
4da7bc4a
/*jslint nomen: true, indent: 2, maxerr: 3, unparam: true */
/*global window, document, rJS, Handlebars, RSVP, Node
, loopEventListener
*/
/*global window, document, rJS, Handlebars, RSVP, Node */
(
function
(
window
,
document
,
rJS
,
Handlebars
,
RSVP
,
Node
,
loopEventListener
)
{
"
use strict
"
;
...
...
@@ -343,4 +343,4 @@
}
},
true
,
false
);
}(
window
,
document
,
rJS
,
Handlebars
,
RSVP
,
Node
,
loopEventListener
));
}(
window
,
document
,
rJS
,
Handlebars
,
RSVP
,
Node
,
rJS
.
loopEventListener
));
bt5/erp5_officejs/PathTemplateItem/web_page_module/ojs_drive_app_panel_js.xml
View file @
4da7bc4a
...
...
@@ -234,7 +234,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
61.39082.1332.7492
</string>
</value>
<value>
<string>
9
89.27524.31537.13687
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -252,7 +252,7 @@
</tuple>
<state>
<tuple>
<float>
1
503907015.64
</float>
<float>
1
613148971.79
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/ojs_facebook_configurator_js.js
View file @
4da7bc4a
/*global window, rJS, RSVP, URI, location,
loopEventListener,
btoa, FB */
btoa, FB */
/*jslint nomen: true, indent: 2, maxerr: 3*/
(
function
(
window
,
rJS
,
RSVP
,
FB
)
{
"
use strict
"
;
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/ojs_facebook_configurator_js.xml
View file @
4da7bc4a
...
...
@@ -69,7 +69,9 @@
</item>
<item>
<key>
<string>
content_type
</string>
</key>
<value>
<string>
text/javascript
</string>
</value>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
default_reference
</string>
</key>
...
...
@@ -240,7 +242,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
62.22780.25314.60910
</string>
</value>
<value>
<string>
9
89.27524.31537.13687
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -258,7 +260,7 @@
</tuple>
<state>
<tuple>
<float>
1
506432630.67
</float>
<float>
1
613149010.8
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/ojs_page_drive_app_configurator_js.js
View file @
4da7bc4a
/*global window, document, rJS, RSVP, URI, location, Handlebars
loopEventListener*/
/*global window, document, rJS, RSVP, URI, location, Handlebars*/
/*jslint nomen: true, indent: 2, maxerr: 3*/
(
function
(
window
,
rJS
,
RSVP
,
Handlebars
)
{
"
use strict
"
;
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/ojs_page_drive_app_configurator_js.xml
View file @
4da7bc4a
...
...
@@ -240,7 +240,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
62.48398.15828.27938
</string>
</value>
<value>
<string>
9
89.27524.31537.13687
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -258,8 +258,8 @@
</tuple>
<state>
<tuple>
<float>
1
507880576.48
</float>
<string>
GMT+9
</string>
<float>
1
613149038.11
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/ojs_wallsearch_panel_js.js
View file @
4da7bc4a
/*jslint nomen: true, indent: 2, maxerr: 3, unparam: true */
/*global window, document, rJS, Handlebars, RSVP, Node
, loopEventListener
*/
/*global window, document, rJS, Handlebars, RSVP, Node */
(
function
(
window
,
document
,
rJS
,
Handlebars
,
RSVP
,
Node
,
loopEventListener
)
{
"
use strict
"
;
...
...
@@ -341,4 +341,4 @@
}
},
true
,
false
);
}(
window
,
document
,
rJS
,
Handlebars
,
RSVP
,
Node
,
loopEventListener
));
}(
window
,
document
,
rJS
,
Handlebars
,
RSVP
,
Node
,
rJS
.
loopEventListener
));
bt5/erp5_officejs/PathTemplateItem/web_page_module/ojs_wallsearch_panel_js.xml
View file @
4da7bc4a
...
...
@@ -234,7 +234,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
62.22807.3679.17032
</string>
</value>
<value>
<string>
9
89.27524.31537.13687
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -252,7 +252,7 @@
</tuple>
<state>
<tuple>
<float>
1
506429553.2
</float>
<float>
1
613149076.39
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_afs_panel_js.js
View file @
4da7bc4a
/*jslint nomen: true, indent: 2, maxerr: 3 */
/*global document, window, rJS, Handlebars, RSVP,
loopEventListener,
Node */
/*global document, window, rJS, Handlebars, RSVP, Node */
(
function
(
document
,
window
,
rJS
,
Handlebars
,
RSVP
,
loopEventListener
,
Node
)
{
"
use strict
"
;
...
...
@@ -132,7 +132,7 @@
}
},
true
,
false
);
}(
document
,
window
,
rJS
,
Handlebars
,
RSVP
,
loopEventListener
,
Node
));
}(
document
,
window
,
rJS
,
Handlebars
,
RSVP
,
rJS
.
loopEventListener
,
Node
));
...
...
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_afs_panel_js.xml
View file @
4da7bc4a
...
...
@@ -234,7 +234,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
98
2.50139.2900.54459
</string>
</value>
<value>
<string>
98
9.27549.43950.31078
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -252,7 +252,7 @@
</tuple>
<state>
<tuple>
<float>
1
585159544.63
</float>
<float>
1
613149194.55
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_officejs_appstore_base/PathTemplateItem/web_page_module/gadget_ojs_appstore_panel_js.js
View file @
4da7bc4a
/*jslint nomen: true, indent: 2, maxerr: 3, unparam: true */
/*global window, document, rJS, Handlebars, RSVP, Node
, loopEventListener
*/
/*global window, document, rJS, Handlebars, RSVP, Node */
(
function
(
window
,
document
,
rJS
,
Handlebars
,
RSVP
,
Node
,
loopEventListener
)
{
"
use strict
"
;
...
...
@@ -311,4 +311,4 @@
}
},
true
,
false
);
}(
window
,
document
,
rJS
,
Handlebars
,
RSVP
,
Node
,
loopEventListener
));
}(
window
,
document
,
rJS
,
Handlebars
,
RSVP
,
Node
,
rJS
.
loopEventListener
));
bt5/erp5_officejs_appstore_base/PathTemplateItem/web_page_module/gadget_ojs_appstore_panel_js.xml
View file @
4da7bc4a
...
...
@@ -263,7 +263,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
69.60628.55268.16093
</string>
</value>
<value>
<string>
9
89.27549.43950.31078
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -281,7 +281,7 @@
</tuple>
<state>
<tuple>
<float>
1
535619185.93
</float>
<float>
1
613394617.74
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_officejs_support_request_ui/PathTemplateItem/web_page_module/gadget_supportrequest_homepage_js.js
View file @
4da7bc4a
/*global document, window, Option, rJS, RSVP, promiseEventListener
, loopEventListener
*/
/*global document, window, Option, rJS, RSVP, promiseEventListener */
/*jslint nomen: true, indent: 2, maxerr: 3 */
(
function
(
window
,
rJS
,
RSVP
,
promiseEventListener
,
loopEventListener
)
{
"
use strict
"
;
...
...
@@ -344,4 +344,4 @@
});
});
}(
window
,
rJS
,
RSVP
,
promiseEventListener
,
loopEventListener
));
}(
window
,
rJS
,
RSVP
,
promiseEventListener
,
rJS
.
loopEventListener
));
bt5/erp5_officejs_support_request_ui/PathTemplateItem/web_page_module/gadget_supportrequest_homepage_js.xml
View file @
4da7bc4a
...
...
@@ -232,7 +232,7 @@
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
ERP5TypeTestCas
e
</string>
</value>
<value>
<string>
zop
e
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
...
...
@@ -246,7 +246,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
98
5.27934.60177.3206
8
</string>
</value>
<value>
<string>
98
9.27549.43950.3107
8
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -264,7 +264,7 @@
</tuple>
<state>
<tuple>
<float>
1
595449693.01
</float>
<float>
1
613149261.83
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_officejs_support_request_ui/PathTemplateItem/web_page_module/gadget_supportrequest_panel_js.js
View file @
4da7bc4a
/*jslint nomen: true, indent: 2, maxerr: 3 */
/*global window, document, rJS, Handlebars, RSVP, Node
, loopEventListener
*/
/*global window, document, rJS, Handlebars, RSVP, Node */
(
function
(
window
,
document
,
rJS
,
Handlebars
,
RSVP
,
Node
,
loopEventListener
)
{
"
use strict
"
;
...
...
@@ -281,4 +281,4 @@
}
},
true
,
false
);
}(
window
,
document
,
rJS
,
Handlebars
,
RSVP
,
Node
,
loopEventListener
));
}(
window
,
document
,
rJS
,
Handlebars
,
RSVP
,
Node
,
rJS
.
loopEventListener
));
bt5/erp5_officejs_support_request_ui/PathTemplateItem/web_page_module/gadget_supportrequest_panel_js.xml
View file @
4da7bc4a
...
...
@@ -69,7 +69,9 @@
</item>
<item>
<key>
<string>
content_type
</string>
</key>
<value>
<string>
application/javascript
</string>
</value>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
default_reference
</string>
</key>
...
...
@@ -238,7 +240,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
98
4.51645.41378.19729
</string>
</value>
<value>
<string>
98
9.27549.43950.31078
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -256,7 +258,7 @@
</tuple>
<state>
<tuple>
<float>
16
01621295.36
</float>
<float>
16
13149288.51
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_simulation_fast_input/SkinTemplateItem/portal_skins/erp5_simulation_fast_input/gadget_solve_divergence_dialog.js.js
View file @
4da7bc4a
...
...
@@ -5,56 +5,7 @@
// modify an existing dialog, we do not have nice structure of a full
// renderjs web page
// horrible copy/paste, this code is now present in latest renderjs,
// until we can use it, just duplicate the code and remove it when
// renderjs is up to date
function
loopEventListener
(
target
,
type
,
useCapture
,
callback
)
{
"
use strict
"
;
//////////////////////////
// Infinite event listener (promise is never resolved)
// eventListener is removed when promise is cancelled/rejected
//////////////////////////
var
handle_event_callback
,
callback_promise
;
function
cancelResolver
()
{
if
((
callback_promise
!==
undefined
)
&&
(
typeof
callback_promise
.
cancel
===
"
function
"
))
{
callback_promise
.
cancel
();
}
}
function
canceller
()
{
if
(
handle_event_callback
!==
undefined
)
{
target
.
removeEventListener
(
type
,
handle_event_callback
,
useCapture
);
}
cancelResolver
();
}
function
itsANonResolvableTrap
(
resolve
,
reject
)
{
handle_event_callback
=
function
(
evt
)
{
evt
.
stopPropagation
();
evt
.
preventDefault
();
cancelResolver
();
callback_promise
=
new
RSVP
.
Queue
()
.
push
(
function
()
{
return
callback
(
evt
);
})
.
push
(
undefined
,
function
(
error
)
{
if
(
!
(
error
instanceof
RSVP
.
CancellationError
))
{
canceller
();
reject
(
error
);
}
});
};
target
.
addEventListener
(
type
,
handle_event_callback
,
useCapture
);
}
return
new
RSVP
.
Promise
(
itsANonResolvableTrap
,
canceller
);
}
// end of horrible copy/paste
(
function
(
rJS
,
jIO
,
Handlebars
,
RSVP
,
document
,
window
)
{
(
function
(
rJS
,
jIO
,
Handlebars
,
RSVP
,
document
,
window
,
loopEventListener
)
{
"
use strict
"
;
rJS
(
window
)
.
ready
(
function
(
g
)
{
...
...
@@ -159,4 +110,4 @@ function loopEventListener(target, type, useCapture, callback) {
}
return
divergence_choice_list
;
});
}(
rJS
,
jIO
,
Handlebars
,
RSVP
,
document
,
window
));
\ No newline at end of file
}(
rJS
,
jIO
,
Handlebars
,
RSVP
,
document
,
window
,
rJS
.
loopEventListener
));
\ No newline at end of file
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_add_comment_js.js
View file @
4da7bc4a
...
...
@@ -82,4 +82,4 @@
});
}
});
}(
window
,
RSVP
,
rJS
,
loopEventListener
,
Handlebars
));
\ No newline at end of file
}(
window
,
RSVP
,
rJS
,
rJS
.
loopEventListener
,
Handlebars
));
\ No newline at end of file
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_add_comment_js.xml
View file @
4da7bc4a
...
...
@@ -242,7 +242,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
56.57258.37000.44407
</string>
</value>
<value>
<string>
9
89.27549.43950.31078
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -260,7 +260,7 @@
</tuple>
<state>
<tuple>
<float>
1
485337559.6
5
</float>
<float>
1
613393971.8
5
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_add_expense_sheet_view_js.js
View file @
4da7bc4a
...
...
@@ -158,4 +158,4 @@
})]);
});
});
}(
window
,
document
,
RSVP
,
rJS
,
Handlebars
,
loopEventListener
,
promiseEventListener
,
alertify
));
\ No newline at end of file
}(
window
,
document
,
RSVP
,
rJS
,
Handlebars
,
rJS
.
loopEventListener
,
promiseEventListener
,
alertify
));
\ No newline at end of file
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_add_expense_sheet_view_js.xml
View file @
4da7bc4a
...
...
@@ -250,7 +250,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
66.61403.55134.65177
</string>
</value>
<value>
<string>
9
89.27549.43950.31078
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -268,8 +268,8 @@
</tuple>
<state>
<tuple>
<float>
1
524042108.18
</float>
<string>
GMT+2
</string>
<float>
1
613394000.22
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
...
...
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_expense_record_view_js.js
View file @
4da7bc4a
...
...
@@ -564,4 +564,4 @@
);
});
}(
window
,
document
,
RSVP
,
rJS
,
Handlebars
,
loopEventListener
,
promiseEventListener
,
alertify
));
}(
window
,
document
,
RSVP
,
rJS
,
Handlebars
,
rJS
.
loopEventListener
,
promiseEventListener
,
alertify
));
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_expense_record_view_js.xml
View file @
4da7bc4a
...
...
@@ -235,7 +235,7 @@
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
cedric.le.ninivin
</string>
</value>
<value>
<string>
zope
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
...
...
@@ -249,7 +249,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
61.29556.33516.42052
</string>
</value>
<value>
<string>
9
89.27549.43950.31078
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -267,7 +267,7 @@
</tuple>
<state>
<tuple>
<float>
1
502904411.77
</float>
<float>
1
613394030.76
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_expense_report_js.js
View file @
4da7bc4a
...
...
@@ -177,4 +177,4 @@
})
}(
window
,
document
,
RSVP
,
rJS
,
Handlebars
,
promiseEventListener
,
loopEventListener
,
jQuery
));
}(
window
,
document
,
RSVP
,
rJS
,
Handlebars
,
promiseEventListener
,
rJS
.
loopEventListener
,
jQuery
));
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_expense_report_js.xml
View file @
4da7bc4a
...
...
@@ -250,7 +250,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
56.58658.21925.32853
</string>
</value>
<value>
<string>
9
89.27549.43950.31078
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -268,7 +268,7 @@
</tuple>
<state>
<tuple>
<float>
1
486391931.12
</float>
<float>
1
613394057.18
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_leave_request_view_js.js
View file @
4da7bc4a
...
...
@@ -331,4 +331,4 @@
});
})*/
;
}(
window
,
document
,
RSVP
,
rJS
,
Handlebars
,
loopEventListener
,
promiseEventListener
,
alertify
));
}(
window
,
document
,
RSVP
,
rJS
,
Handlebars
,
rJS
.
loopEventListener
,
promiseEventListener
,
alertify
));
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_leave_request_view_js.xml
View file @
4da7bc4a
...
...
@@ -250,7 +250,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
56.58658.21925.32853
</string>
</value>
<value>
<string>
9
89.27549.43950.31078
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -268,7 +268,7 @@
</tuple>
<state>
<tuple>
<float>
1
486473882.26
</float>
<float>
1
613394086.14
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_mission_request_record_view_js.js
View file @
4da7bc4a
...
...
@@ -340,4 +340,4 @@
});
})*/
;
}(
window
,
document
,
RSVP
,
rJS
,
Handlebars
,
loopEventListener
,
promiseEventListener
,
alertify
));
}(
window
,
document
,
RSVP
,
rJS
,
Handlebars
,
rJS
.
loopEventListener
,
promiseEventListener
,
alertify
));
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_mission_request_record_view_js.xml
View file @
4da7bc4a
...
...
@@ -250,7 +250,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
56.58658.21925.32853
</string>
</value>
<value>
<string>
9
89.27549.43950.31078
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -268,7 +268,7 @@
</tuple>
<state>
<tuple>
<float>
1
486473814.12
</float>
<float>
1
613394114.93
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_page_calendar_js.js
View file @
4da7bc4a
...
...
@@ -57,4 +57,4 @@
});
});
});
}(
window
,
rJS
,
RSVP
,
loopEventListener
));
\ No newline at end of file
}(
window
,
rJS
,
RSVP
,
rJS
.
loopEventListener
));
\ No newline at end of file
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_page_calendar_js.xml
View file @
4da7bc4a
...
...
@@ -236,7 +236,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
56.35720.16926.32802
</string>
</value>
<value>
<string>
9
89.27549.43950.31078
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -254,7 +254,7 @@
</tuple>
<state>
<tuple>
<float>
1
484043513.07
</float>
<float>
1
613394142.42
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_page_front_js.js
View file @
4da7bc4a
/*globals window, RSVP, rJS*/
/*jslint indent: 2, nomen: true, maxlen: 80*/
(
function
(
window
,
RSVP
,
rJS
)
{
(
function
(
window
,
RSVP
,
rJS
,
loopEventListener
)
{
"
use strict
"
;
var
gadget_klass
=
rJS
(
window
),
source
=
gadget_klass
.
__template_element
...
...
@@ -158,4 +158,4 @@
});
});
}(
window
,
RSVP
,
rJS
));
\ No newline at end of file
}(
window
,
RSVP
,
rJS
,
rJS
.
loopEventListener
));
\ No newline at end of file
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_page_front_js.xml
View file @
4da7bc4a
...
...
@@ -262,7 +262,7 @@
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
cedric.le.ninivin
</string>
</value>
<value>
<string>
zope
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
...
...
@@ -276,7 +276,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
61.60854.27381.38212
</string>
</value>
<value>
<string>
9
89.27549.43950.31078
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -294,7 +294,7 @@
</tuple>
<state>
<tuple>
<float>
1
505399193.45
</float>
<float>
1
613394176.86
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_page_jio_configurator_js.js
View file @
4da7bc4a
/*global window, document, rJS, RSVP, URI, location,
loopEventListener*/
/*jslint nomen: true, indent: 2, maxerr: 3*/
(
function
(
window
,
rJS
,
RSVP
)
{
(
function
(
window
,
rJS
,
RSVP
,
loopEventListener
)
{
"
use strict
"
;
function
setERP5Configuration
(
gadget
)
{
...
...
@@ -125,4 +125,4 @@
});
}(
window
,
rJS
,
RSVP
));
\ No newline at end of file
}(
window
,
rJS
,
RSVP
,
rJS
.
loopEventListener
));
\ No newline at end of file
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_page_jio_configurator_js.xml
View file @
4da7bc4a
...
...
@@ -71,7 +71,9 @@
</item>
<item>
<key>
<string>
content_type
</string>
</key>
<value>
<string>
text/javascript
</string>
</value>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
default_reference
</string>
</key>
...
...
@@ -244,7 +246,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
66.51247.9185.33604
</string>
</value>
<value>
<string>
9
89.27549.43950.31078
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -262,8 +264,8 @@
</tuple>
<state>
<tuple>
<float>
1
523433333.8
8
</float>
<string>
GMT+2
</string>
<float>
1
613394220.7
8
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
...
...
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_page_jio_dav_configurator_js.js
View file @
4da7bc4a
/*global window, rJS, RSVP, URI, location,
loopEventListener, btoa */
/*jslint nomen: true, indent: 2, maxerr: 3*/
(
function
(
window
,
rJS
,
RSVP
)
{
(
function
(
window
,
rJS
,
RSVP
,
loopEventListener
)
{
"
use strict
"
;
function
setjIODAVConfiguration
(
gadget
)
{
...
...
@@ -133,4 +133,4 @@
});
}(
window
,
rJS
,
RSVP
));
\ No newline at end of file
}(
window
,
rJS
,
RSVP
,
rJS
.
loopEventListener
));
\ No newline at end of file
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_page_jio_dav_configurator_js.xml
View file @
4da7bc4a
...
...
@@ -245,7 +245,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
66.51243.41162.51080
</string>
</value>
<value>
<string>
9
89.27549.43950.31078
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -263,8 +263,8 @@
</tuple>
<state>
<tuple>
<float>
1
523438631.38
</float>
<string>
GMT+2
</string>
<float>
1
613394264.25
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
...
...
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_page_jio_erp5_configurator_js.js
View file @
4da7bc4a
/*global window, rJS, RSVP, URI, location,
loopEventListener,
btoa */
btoa */
/*jslint nomen: true, indent: 2, maxerr: 3*/
(
function
(
window
,
rJS
,
RSVP
)
{
(
function
(
window
,
rJS
,
RSVP
,
loopEventListener
)
{
"
use strict
"
;
function
setjIOERP5Configuration
(
gadget
)
{
...
...
@@ -172,4 +172,4 @@
});
});
}(
window
,
rJS
,
RSVP
));
\ No newline at end of file
}(
window
,
rJS
,
RSVP
,
rJS
.
loopEventListener
));
\ No newline at end of file
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_page_jio_erp5_configurator_js.xml
View file @
4da7bc4a
...
...
@@ -245,7 +245,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
66.58919.23896.1914
8
</string>
</value>
<value>
<string>
9
89.27549.43950.3107
8
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -263,8 +263,8 @@
</tuple>
<state>
<tuple>
<float>
1
524126116.01
</float>
<string>
GMT+2
</string>
<float>
1
613394309.96
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
...
...
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_router_js.js
View file @
4da7bc4a
/*global window, rJS */
/*jslint nomen: true, indent: 2, maxerr: 3*/
(
function
(
window
,
rJS
)
{
(
function
(
window
,
rJS
,
loopEventListener
)
{
"
use strict
"
;
var
gadget_klass
=
rJS
(
window
),
...
...
@@ -165,4 +165,4 @@
});
});
}(
window
,
rJS
));
\ No newline at end of file
}(
window
,
rJS
,
rJS
.
loopEventListener
));
\ No newline at end of file
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_router_js.xml
View file @
4da7bc4a
...
...
@@ -244,7 +244,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
56.7340.20565.20701
</string>
</value>
<value>
<string>
9
89.27549.43950.31078
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -262,7 +262,7 @@
</tuple>
<state>
<tuple>
<float>
1
482502019.34
</float>
<float>
1
613394345.83
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_web_ecommerce/PathTemplateItem/web_page_module/gadget_e5g_ecommerce_panel_js.js
View file @
4da7bc4a
/*jslint nomen: true, indent: 2, maxerr: 3 */
/*global window, rJS, Handlebars, jQuery, RSVP
, loopEventListener
*/
/*global window, rJS, Handlebars, jQuery, RSVP */
(
function
(
window
,
rJS
,
Handlebars
,
$
,
RSVP
,
loopEventListener
)
{
"
use strict
"
;
...
...
@@ -152,4 +152,4 @@
});
});
}(
window
,
rJS
,
Handlebars
,
jQuery
,
RSVP
,
loopEventListener
));
}(
window
,
rJS
,
Handlebars
,
jQuery
,
RSVP
,
rJS
.
loopEventListener
));
bt5/erp5_web_ecommerce/PathTemplateItem/web_page_module/gadget_e5g_ecommerce_panel_js.xml
View file @
4da7bc4a
...
...
@@ -233,7 +233,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
43.9633.57716.21742
</string>
</value>
<value>
<string>
9
90.2265.53403.36881
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -251,8 +251,8 @@
</tuple>
<state>
<tuple>
<float>
1
432198643.67
</float>
<string>
GMT
</string>
<float>
1
613400566.32
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
...
...
bt5/erp5_web_ecrm/PathTemplateItem/web_page_module/gadget_e5g_ecrm_panel_js.js
View file @
4da7bc4a
/*jslint nomen: true, indent: 2, maxerr: 3 */
/*global window, rJS, Handlebars, jQuery, RSVP
, loopEventListener
*/
/*global window, rJS, Handlebars, jQuery, RSVP */
(
function
(
window
,
rJS
,
Handlebars
,
$
,
RSVP
,
loopEventListener
)
{
"
use strict
"
;
...
...
@@ -178,4 +178,4 @@
});
});
}(
window
,
rJS
,
Handlebars
,
jQuery
,
RSVP
,
loopEventListener
));
}(
window
,
rJS
,
Handlebars
,
jQuery
,
RSVP
,
rJS
.
loopEventListener
));
bt5/erp5_web_ecrm/PathTemplateItem/web_page_module/gadget_e5g_ecrm_panel_js.xml
View file @
4da7bc4a
...
...
@@ -233,7 +233,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
43.10686.32775.12612
</string>
</value>
<value>
<string>
9
90.2265.53403.36881
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -251,8 +251,8 @@
</tuple>
<state>
<tuple>
<float>
1
432201806.27
</float>
<string>
GMT
</string>
<float>
1
613400465.11
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
...
...
bt5/erp5_web_ehr/PathTemplateItem/web_page_module/gadget_e5g_ehr_panel_js.js
View file @
4da7bc4a
/*jslint nomen: true, indent: 2, maxerr: 3 */
/*global window, rJS, Handlebars, jQuery, RSVP
, loopEventListener
*/
/*global window, rJS, Handlebars, jQuery, RSVP */
(
function
(
window
,
rJS
,
Handlebars
,
$
,
RSVP
,
loopEventListener
)
{
"
use strict
"
;
...
...
@@ -178,4 +178,4 @@
});
});
}(
window
,
rJS
,
Handlebars
,
jQuery
,
RSVP
,
loopEventListener
));
}(
window
,
rJS
,
Handlebars
,
jQuery
,
RSVP
,
rJS
.
loopEventListener
));
bt5/erp5_web_ehr/PathTemplateItem/web_page_module/gadget_e5g_ehr_panel_js.xml
View file @
4da7bc4a
...
...
@@ -233,7 +233,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
43.10732.49761.1896
1
</string>
</value>
<value>
<string>
9
90.2265.53403.3688
1
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -251,8 +251,8 @@
</tuple>
<state>
<tuple>
<float>
1
432203929.3
3
</float>
<string>
GMT
</string>
<float>
1
613400406.1
3
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
...
...
bt5/erp5_web_eproject/PathTemplateItem/web_page_module/gadget_e5g_eproject_panel_js.js
View file @
4da7bc4a
/*jslint nomen: true, indent: 2, maxerr: 3 */
/*global window, rJS, Handlebars, jQuery, RSVP
, loopEventListener
*/
/*global window, rJS, Handlebars, jQuery, RSVP */
(
function
(
window
,
rJS
,
Handlebars
,
$
,
RSVP
,
loopEventListener
)
{
"
use strict
"
;
...
...
@@ -179,4 +179,4 @@
});
});
}(
window
,
rJS
,
Handlebars
,
jQuery
,
RSVP
,
loopEventListener
));
}(
window
,
rJS
,
Handlebars
,
jQuery
,
RSVP
,
rJS
.
loopEventListener
));
bt5/erp5_web_eproject/PathTemplateItem/web_page_module/gadget_e5g_eproject_panel_js.xml
View file @
4da7bc4a
...
...
@@ -233,7 +233,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
43.10881.65296.43776
</string>
</value>
<value>
<string>
9
90.2265.53403.36881
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -251,8 +251,8 @@
</tuple>
<state>
<tuple>
<float>
1
432213723.7
</float>
<string>
GMT
</string>
<float>
1
613400232.85
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
...
...
bt5/erp5_web_jabber_client/PathTemplateItem/web_page_module/jabber_gadget_jio_js.js
View file @
4da7bc4a
/*global window, rJS, RSVP, jIO, Notification, document
, loopEventListener
*/
/*global window, rJS, RSVP, jIO, Notification, document */
/*jslint indent: 2, maxerr: 3, nomen: true */
(
function
(
window
,
rJS
,
RSVP
,
jIO
,
Notification
,
document
,
loopEventListener
)
{
"
use strict
"
;
...
...
@@ -517,4 +517,4 @@
);
});
}(
window
,
rJS
,
RSVP
,
jIO
,
Notification
,
document
,
loopEventListener
));
\ No newline at end of file
}(
window
,
rJS
,
RSVP
,
jIO
,
Notification
,
document
,
rJS
.
loopEventListener
));
\ No newline at end of file
bt5/erp5_web_jabber_client/PathTemplateItem/web_page_module/jabber_gadget_jio_js.xml
View file @
4da7bc4a
...
...
@@ -236,7 +236,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
88.26490.15321.9130
</string>
</value>
<value>
<string>
9
90.2265.53403.36881
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -254,7 +254,7 @@
</tuple>
<state>
<tuple>
<float>
16
06985968.14
</float>
<float>
16
13400013.68
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_web_jabber_client/PathTemplateItem/web_page_module/jabber_gadget_panel_js.js
View file @
4da7bc4a
/*jslint nomen: true, indent: 2, maxerr: 3, unparam: true */
/*global window, document, rJS, Handlebars, RSVP, Node
, loopEventListener
*/
/*global window, document, rJS, Handlebars, RSVP, Node */
(
function
(
window
,
document
,
rJS
,
Handlebars
,
RSVP
,
Node
,
loopEventListener
)
{
"
use strict
"
;
...
...
@@ -237,4 +237,4 @@
}
},
false
,
false
);
}(
window
,
document
,
rJS
,
Handlebars
,
RSVP
,
Node
,
loopEventListener
));
}(
window
,
document
,
rJS
,
Handlebars
,
RSVP
,
Node
,
rJS
.
loopEventListener
));
bt5/erp5_web_jabber_client/PathTemplateItem/web_page_module/jabber_gadget_panel_js.xml
View file @
4da7bc4a
...
...
@@ -236,7 +236,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
68.4100.33585.6364
1
</string>
</value>
<value>
<string>
9
90.2265.53403.3688
1
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -254,7 +254,7 @@
</tuple>
<state>
<tuple>
<float>
1
528383004.79
</float>
<float>
1
613399987.62
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_web_js_style/SkinTemplateItem/portal_skins/erp5_web_js_style_ui/jsstyle.js.js
View file @
4da7bc4a
/*globals window, document, RSVP, rJS, XMLHttpRequest, DOMParser, URL,
loopEventListener,
history, console */
history, console */
/*jslint indent: 2, maxlen: 80*/
(
function
(
window
,
document
,
RSVP
,
rJS
,
XMLHttpRequest
,
DOMParser
,
URL
,
loopEventListener
,
history
,
console
)
{
...
...
@@ -339,4 +339,4 @@
});
}(
window
,
document
,
RSVP
,
rJS
,
XMLHttpRequest
,
DOMParser
,
URL
,
loopEventListener
,
history
,
console
));
\ No newline at end of file
rJS
.
loopEventListener
,
history
,
console
));
\ No newline at end of file
bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_header_js.js
View file @
4da7bc4a
/*jslint nomen: true, indent: 2, maxerr: 3 */
/*global window, rJS, Handlebars, document,
loopEventListener,
RSVP */
/*global window, rJS, Handlebars, document, RSVP */
(
function
(
window
,
rJS
,
Handlebars
,
document
,
loopEventListener
,
RSVP
)
{
"
use strict
"
;
...
...
@@ -340,4 +340,4 @@
);
});
}(
window
,
rJS
,
Handlebars
,
document
,
loopEventListener
,
RSVP
));
\ No newline at end of file
}(
window
,
rJS
,
Handlebars
,
document
,
rJS
.
loopEventListener
,
RSVP
));
\ No newline at end of file
bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_header_js.xml
View file @
4da7bc4a
...
...
@@ -233,7 +233,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
43.11020.10144.2810
8
</string>
</value>
<value>
<string>
9
89.27549.43950.3107
8
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -251,8 +251,8 @@
</tuple>
<state>
<tuple>
<float>
1
432220900.26
</float>
<string>
GMT
</string>
<float>
1
613393789.25
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
...
...
bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_js.js
View file @
4da7bc4a
/*global window, document, rJS, RSVP, jQuery, console, jQuery, XMLHttpRequest,
loopEventListener,
URI, location */
/*global window, document, rJS, RSVP, jQuery, console, jQuery, XMLHttpRequest, URI, location */
/*jslint nomen: true, indent: 2, maxerr: 3 */
(
function
(
window
,
document
,
rJS
,
RSVP
,
$
,
XMLHttpRequest
,
console
,
loopEventListener
,
location
)
{
"
use strict
"
;
...
...
@@ -579,4 +579,4 @@
return
listenHashChange
(
this
);
});
}(
window
,
document
,
rJS
,
RSVP
,
jQuery
,
XMLHttpRequest
,
console
,
loopEventListener
,
location
));
\ No newline at end of file
}(
window
,
document
,
rJS
,
RSVP
,
jQuery
,
XMLHttpRequest
,
console
,
rJS
.
loopEventListener
,
location
));
\ No newline at end of file
bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_js.xml
View file @
4da7bc4a
...
...
@@ -233,7 +233,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
98
1.40707.13352.51541
</string>
</value>
<value>
<string>
98
9.27549.43950.31078
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -251,7 +251,7 @@
</tuple>
<state>
<tuple>
<float>
1
583327151.4
</float>
<float>
1
613393757.76
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_page_components_js.js
View file @
4da7bc4a
/*global window, rJS, RSVP */
/*jslint nomen: true, indent: 2, maxerr: 3 */
(
function
(
window
,
rJS
,
RSVP
)
{
(
function
(
window
,
rJS
,
RSVP
,
loopEventListener
)
{
"
use strict
"
;
/////////////////////////////////////////////////////////////////
...
...
@@ -254,4 +254,4 @@
return
RSVP
.
all
(
loop_list
);
});
}(
window
,
rJS
,
RSVP
));
}(
window
,
rJS
,
RSVP
,
rJS
.
loopEventListener
));
bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_page_components_js.xml
View file @
4da7bc4a
...
...
@@ -233,7 +233,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
43.10945.22885.62037
</string>
</value>
<value>
<string>
9
89.27549.43950.31078
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -251,8 +251,8 @@
</tuple>
<state>
<tuple>
<float>
1
432216457.85
</float>
<string>
GMT
</string>
<float>
1
613393724.52
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
...
...
bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_panel_js.js
View file @
4da7bc4a
/*jslint nomen: true, indent: 2, maxerr: 3 */
/*global window, rJS, Handlebars, jQuery, RSVP
, loopEventListener
*/
/*global window, rJS, Handlebars, jQuery, RSVP */
(
function
(
window
,
rJS
,
$
,
RSVP
,
Handlebars
,
loopEventListener
)
{
"
use strict
"
;
...
...
@@ -119,4 +119,4 @@
});
});
}(
window
,
rJS
,
jQuery
,
RSVP
,
Handlebars
,
loopEventListener
));
}(
window
,
rJS
,
jQuery
,
RSVP
,
Handlebars
,
rJS
.
loopEventListener
));
bt5/erp5_web_manifest/PathTemplateItem/web_page_module/gadget_manifest_panel_js.xml
View file @
4da7bc4a
...
...
@@ -233,7 +233,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
43.11069.32567.1006
</string>
</value>
<value>
<string>
9
89.27549.43950.31078
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -251,8 +251,8 @@
</tuple>
<state>
<tuple>
<float>
1
432553064.02
</float>
<string>
GMT
</string>
<float>
1
613393677.35
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
...
...
bt5/erp5_web_monitoring/PathTemplateItem/web_page_module/gadget_officejs_monitoring_panel_js.js
View file @
4da7bc4a
/*jslint nomen: true, indent: 2, maxerr: 3, unparam: true */
/*global window, document, rJS, Handlebars, RSVP, Node
, loopEventListener
*/
/*global window, document, rJS, Handlebars, RSVP, Node */
(
function
(
window
,
document
,
rJS
,
Handlebars
,
RSVP
,
Node
,
loopEventListener
)
{
"
use strict
"
;
...
...
@@ -319,4 +319,4 @@
}
},
true
,
false
);
}(
window
,
document
,
rJS
,
Handlebars
,
RSVP
,
Node
,
loopEventListener
));
}(
window
,
document
,
rJS
,
Handlebars
,
RSVP
,
Node
,
rJS
.
loopEventListener
));
bt5/erp5_web_monitoring/PathTemplateItem/web_page_module/gadget_officejs_monitoring_panel_js.xml
View file @
4da7bc4a
...
...
@@ -79,7 +79,9 @@
</item>
<item>
<key>
<string>
content_type
</string>
</key>
<value>
<string>
text/javascript
</string>
</value>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
default_reference
</string>
</key>
...
...
@@ -248,7 +250,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
71.37975.58604.2437
1
</string>
</value>
<value>
<string>
9
90.2265.53403.3688
1
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -266,7 +268,7 @@
</tuple>
<state>
<tuple>
<float>
1
542039239.11
</float>
<float>
1
613399146.3
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_js.js
View file @
4da7bc4a
/*globals window, document, RSVP, rJS,
loopEventListener,
jQuery, URI, location, XMLHttpRequest, console*/
jQuery, URI, location, XMLHttpRequest, console*/
/*jslint indent: 2, maxlen: 80*/
(
function
(
window
,
document
,
RSVP
,
rJS
,
loopEventListener
,
$
,
XMLHttpRequest
,
location
,
console
)
{
...
...
@@ -586,5 +586,5 @@
);
});
}(
window
,
document
,
RSVP
,
rJS
,
loopEventListener
,
jQuery
,
}(
window
,
document
,
RSVP
,
rJS
,
rJS
.
loopEventListener
,
jQuery
,
XMLHttpRequest
,
location
,
console
));
\ No newline at end of file
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_js.xml
View file @
4da7bc4a
...
...
@@ -234,7 +234,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
69.32253.34302.52394
</string>
</value>
<value>
<string>
9
89.27523.29749.43383
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -252,7 +252,7 @@
</tuple>
<state>
<tuple>
<float>
1
534152432.65
</float>
<float>
1
613145989.48
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_router_js.js
View file @
4da7bc4a
/*global window, rJS, RSVP,
loopEventListener,
document, jIO, URI, URL, Blob */
/*global window, rJS, RSVP, document, jIO, URI, URL, Blob */
/*jslint nomen: true, indent: 2 */
(
function
(
window
,
rJS
,
RSVP
,
loopEventListener
,
document
,
jIO
,
URI
,
URL
,
Blob
)
{
"
use strict
"
;
...
...
@@ -1224,4 +1224,4 @@
false
);
});
}(
window
,
rJS
,
RSVP
,
loopEventListener
,
document
,
jIO
,
URI
,
URL
,
Blob
));
\ No newline at end of file
}(
window
,
rJS
,
RSVP
,
rJS
.
loopEventListener
,
document
,
jIO
,
URI
,
URL
,
Blob
));
\ No newline at end of file
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_router_js.xml
View file @
4da7bc4a
...
...
@@ -236,7 +236,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
989.5
3404.33387.10564
</string>
</value>
<value>
<string>
989.5
8905.49586.62361
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -254,7 +254,7 @@
</tuple>
<state>
<tuple>
<float>
161
2533436.71
</float>
<float>
161
3145957.49
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/officejs_todomvc/PathTemplateItem/web_page_module/officejs_todomvc_gadget_router_js.js
View file @
4da7bc4a
/*jslint nomen: true, indent: 2, maxerr: 3, maxlen: 80*/
/*global window, RSVP, rJS*/
(
function
(
window
,
RSVP
,
rJS
)
{
(
function
(
window
,
RSVP
,
rJS
,
loopEventListener
)
{
"
use strict
"
;
...
...
@@ -17,67 +17,6 @@
}
}
function
loopEventListener
(
target
,
type
,
useCapture
,
callback
,
prevent_default
)
{
//////////////////////////
// Infinite event listener (promise is never resolved)
// eventListener is removed when promise is cancelled/rejected
//////////////////////////
var
handle_event_callback
,
callback_promise
;
if
(
prevent_default
===
undefined
)
{
prevent_default
=
true
;
}
function
cancelResolver
()
{
if
((
callback_promise
!==
undefined
)
&&
(
typeof
callback_promise
.
cancel
===
"
function
"
))
{
callback_promise
.
cancel
();
}
}
function
canceller
()
{
if
(
handle_event_callback
!==
undefined
)
{
target
.
removeEventListener
(
type
,
handle_event_callback
,
useCapture
);
}
cancelResolver
();
}
function
itsANonResolvableTrap
(
resolve
,
reject
)
{
var
result
;
handle_event_callback
=
function
(
evt
)
{
if
(
prevent_default
)
{
evt
.
stopPropagation
();
evt
.
preventDefault
();
}
cancelResolver
();
try
{
result
=
callback
(
evt
);
}
catch
(
e
)
{
result
=
RSVP
.
reject
(
e
);
}
callback_promise
=
result
;
new
RSVP
.
Queue
()
.
push
(
function
()
{
return
result
;
})
.
push
(
undefined
,
function
(
error
)
{
if
(
!
(
error
instanceof
RSVP
.
CancellationError
))
{
canceller
();
reject
(
error
);
}
});
};
target
.
addEventListener
(
type
,
handle_event_callback
,
useCapture
);
}
return
new
RSVP
.
Promise
(
itsANonResolvableTrap
,
canceller
);
}
/* Initialization */
rJS
(
window
)
...
...
@@ -100,4 +39,4 @@
.
declareAcquiredMethod
(
"
setQuery
"
,
"
setQuery
"
);
}(
window
,
RSVP
,
rJS
));
\ No newline at end of file
}(
window
,
RSVP
,
rJS
,
rJS
.
loopEventListener
));
\ No newline at end of file
bt5/officejs_todomvc/PathTemplateItem/web_page_module/officejs_todomvc_gadget_router_js.xml
View file @
4da7bc4a
...
...
@@ -138,6 +138,12 @@
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
edit_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAQ=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
...
...
@@ -201,4 +207,67 @@
</dictionary>
</pickle>
</record>
<record
id=
"4"
aka=
"AAAAAAAAAAQ="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
edit
</string>
</value>
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
zope
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
error_message
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
989.63602.1604.56354
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
<value>
<string>
current
</string>
</value>
</item>
<item>
<key>
<string>
time
</string>
</key>
<value>
<object>
<klass>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>
1613145836.2
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/gadget_callable_run.js.js
View file @
4da7bc4a
/*global window, rJS, RSVP, jIO, Handlebars, document, FormData */
/*jslint nomen: true, maxlen:150, indent:2*/
(
function
(
rJS
,
jIO
,
RSVP
,
window
,
Handlebars
)
{
(
function
(
rJS
,
jIO
,
RSVP
,
window
,
Handlebars
,
loopEventListener
)
{
"
use strict
"
;
var
gk
=
rJS
(
window
),
run_source
=
gk
.
__template_element
.
getElementById
(
'
run
'
).
innerHTML
,
run_template
=
Handlebars
.
compile
(
run_source
);
function
loopEventListener
(
target
,
type
,
useCapture
,
callback
,
prevent_default
)
{
//////////////////////////
// Infinite event listener (promise is never resolved)
// eventListener is removed when promise is cancelled/rejected
//////////////////////////
var
handle_event_callback
,
callback_promise
;
if
(
prevent_default
===
undefined
)
{
prevent_default
=
true
;
}
function
cancelResolver
()
{
if
((
callback_promise
!==
undefined
)
&&
(
typeof
callback_promise
.
cancel
===
"
function
"
))
{
callback_promise
.
cancel
();
}
}
function
canceller
()
{
if
(
handle_event_callback
!==
undefined
)
{
target
.
removeEventListener
(
type
,
handle_event_callback
,
useCapture
);
}
cancelResolver
();
}
function
itsANonResolvableTrap
(
resolve
,
reject
)
{
var
result
;
handle_event_callback
=
function
(
evt
)
{
if
(
prevent_default
)
{
evt
.
stopPropagation
();
evt
.
preventDefault
();
}
cancelResolver
();
try
{
result
=
callback
(
evt
);
}
catch
(
e
)
{
result
=
RSVP
.
reject
(
e
);
}
callback_promise
=
result
;
new
RSVP
.
Queue
()
.
push
(
function
()
{
return
result
;
})
.
push
(
undefined
,
function
(
error
)
{
if
(
!
(
error
instanceof
RSVP
.
CancellationError
))
{
canceller
();
reject
(
error
);
}
});
};
target
.
addEventListener
(
type
,
handle_event_callback
,
useCapture
);
}
return
new
RSVP
.
Promise
(
itsANonResolvableTrap
,
canceller
);
}
function
getLog
(
gadget
)
{
return
jIO
.
util
.
ajax
(
{
...
...
@@ -178,4 +118,4 @@
);
});
});
}(
rJS
,
jIO
,
RSVP
,
window
,
Handlebars
));
\ No newline at end of file
}(
rJS
,
jIO
,
RSVP
,
window
,
Handlebars
,
rJS
.
loopEventListener
));
\ No newline at end of file
product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_ckeditor/ckeditor.gadget.js.js
View file @
4da7bc4a
/*global window, document, rJS, CKEDITOR, RSVP*/
/*jslint nomen: true, maxlen:80, indent:2*/
(
function
(
window
,
document
,
rJS
,
CKEDITOR
,
RSVP
)
{
(
function
(
window
,
document
,
rJS
,
CKEDITOR
,
RSVP
,
loopEventListener
)
{
"
use strict
"
;
// erp5_globals is not in xhtml_style.
// Copy/Paste this function for now
function
loopEventListener
(
target
,
type
,
useCapture
,
callback
,
prevent_default
)
{
//////////////////////////
// Infinite event listener (promise is never resolved)
// eventListener is removed when promise is cancelled/rejected
//////////////////////////
var
handle_event_callback
,
callback_promise
;
if
(
prevent_default
===
undefined
)
{
prevent_default
=
true
;
}
function
cancelResolver
()
{
if
((
callback_promise
!==
undefined
)
&&
(
typeof
callback_promise
.
cancel
===
"
function
"
))
{
callback_promise
.
cancel
();
}
}
function
canceller
()
{
if
(
handle_event_callback
!==
undefined
)
{
target
.
removeEventListener
(
type
,
handle_event_callback
,
useCapture
);
}
cancelResolver
();
}
function
itsANonResolvableTrap
(
resolve
,
reject
)
{
var
result
;
handle_event_callback
=
function
(
evt
)
{
if
(
prevent_default
)
{
evt
.
stopPropagation
();
evt
.
preventDefault
();
}
cancelResolver
();
try
{
result
=
callback
(
evt
);
}
catch
(
e
)
{
return
reject
(
e
);
}
callback_promise
=
new
RSVP
.
Queue
(
result
).
push
(
undefined
,
reject
);
};
target
.
addEventListener
(
type
,
handle_event_callback
,
useCapture
);
}
return
new
RSVP
.
Promise
(
itsANonResolvableTrap
,
canceller
);
}
// http://nightly.ckeditor.com/17-10-11-06-04/full/samples/toolbarconfigurator/index.html#advanced
var
TOOLBAR_MOBILE
=
[
{
name
:
'
basicstyles
'
,
items
:
[
'
Bold
'
,
'
Italic
'
,
'
Underline
'
]},
...
...
@@ -255,4 +203,4 @@
});
}(
window
,
document
,
rJS
,
CKEDITOR
,
RSVP
));
\ No newline at end of file
}(
window
,
document
,
rJS
,
CKEDITOR
,
RSVP
,
rJS
.
loopEventListener
));
\ No newline at end of file
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