Commit 6e0ccaf1 authored by Roque's avatar Roque

erp5_officejs: change Notebook app editor from iodide_master to gadget_jsmd_eval

parent 072b7287
/*global window, rJS, RSVP */ /*global window, rJS, RSVP */
/*jslint nomen: true, indent: 2, maxerr: 3 */ /*jslint nomen: true, indent: 2, maxerr: 3 */
(function (window, rJS, RSVP) { (function (window, rJS, RSVP) {
"use strict"; "use strict";
rJS(window) rJS(window)
///////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////
// Acquired methods // Acquired methods
///////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////
.declareAcquiredMethod("updateHeader", "updateHeader") .declareAcquiredMethod("updateHeader", "updateHeader")
.declareAcquiredMethod("getUrlParameter", "getUrlParameter")
.declareAcquiredMethod("getUrlFor", "getUrlFor") .declareAcquiredMethod("getUrlFor", "getUrlFor")
.declareAcquiredMethod("updateDocument", "updateDocument") .declareAcquiredMethod("updateDocument", "updateDocument")
.declareAcquiredMethod("notifySubmitting", "notifySubmitting") .declareAcquiredMethod("notifySubmitting", "notifySubmitting")
...@@ -118,7 +119,7 @@ ...@@ -118,7 +119,7 @@
"type": "GadgetField", "type": "GadgetField",
"url": "gadget_editor.html", "url": "gadget_editor.html",
"sandbox": "public", "sandbox": "public",
"renderjs_extra": '{"editor": "notebook_editor", "maximize": true}' "renderjs_extra": '{"editor": "jsmd_editor", "maximize": true}'
} }
}}, }},
"_links": { "_links": {
......
...@@ -62,15 +62,13 @@ ...@@ -62,15 +62,13 @@
</value> </value>
</item> </item>
<item> <item>
<key> <string>categories</string> </key> <key> <string>content_md5</string> </key>
<value> <value>
<tuple> <none/>
<string>classification/collaborative/team</string>
</tuple>
</value> </value>
</item> </item>
<item> <item>
<key> <string>content_md5</string> </key> <key> <string>content_type</string> </key>
<value> <value>
<none/> <none/>
</value> </value>
...@@ -109,12 +107,6 @@ ...@@ -109,12 +107,6 @@
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>OfficeJS Jio Notebook View JS</string> </value> <value> <string>OfficeJS Jio Notebook View JS</string> </value>
</item> </item>
<item>
<key> <string>url_string</string> </key>
<value>
<none/>
</value>
</item>
<item> <item>
<key> <string>version</string> </key> <key> <string>version</string> </key>
<value> <string>001</string> </value> <value> <string>001</string> </value>
...@@ -201,7 +193,7 @@ ...@@ -201,7 +193,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1524555869.05</float> <float>1600889170.54</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
...@@ -250,7 +242,7 @@ ...@@ -250,7 +242,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>970.42986.60138.7065</string> </value> <value> <string>986.53108.46138.3464</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -268,7 +260,7 @@ ...@@ -268,7 +260,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1538406432.04</float> <float>1600891646.9</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
...@@ -295,7 +287,9 @@ ...@@ -295,7 +287,9 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>action</string> </key> <key> <string>action</string> </key>
<value> <string>detect_converted_file</string> </value> <value>
<none/>
</value>
</item> </item>
<item> <item>
<key> <string>actor</string> </key> <key> <string>actor</string> </key>
...@@ -311,7 +305,7 @@ ...@@ -311,7 +305,7 @@
</item> </item>
<item> <item>
<key> <string>external_processing_state</string> </key> <key> <string>external_processing_state</string> </key>
<value> <string>converted</string> </value> <value> <string>empty</string> </value>
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
...@@ -329,7 +323,7 @@ ...@@ -329,7 +323,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1524555842.41</float> <float>1600888776.74</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -3,3 +3,4 @@ erp5_code_mirror ...@@ -3,3 +3,4 @@ erp5_code_mirror
erp5_multimedia erp5_multimedia
erp5_smart_assistant erp5_smart_assistant
erp5_run_my_doc erp5_run_my_doc
erp5_notebook
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment