Commit cc526c4d authored by Richard's avatar Richard Committed by Richard

[erp5_notebook]: add workflow to notebook, same as web page. add erp5_dms as...

[erp5_notebook]: add workflow to notebook, same as web page. add erp5_dms as dependency, load iodide notebook in notebook module, change indentation of gadget_officejs_jio_notebook.js, update security settings
parent 03161628
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="ActionInformation" module="Products.CMFCore.ActionInformation"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>action</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>action_type/object_jio_view</string>
</tuple>
</value>
</item>
<item>
<key> <string>category</string> </key>
<value> <string>object_jio_view</string> </value>
</item>
<item>
<key> <string>condition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>icon</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>jio_view</string> </value>
</item>
<item>
<key> <string>permissions</string> </key>
<value>
<tuple>
<string>View</string>
</tuple>
</value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Action Information</string> </value>
</item>
<item>
<key> <string>priority</string> </key>
<value> <float>35.0</float> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>View</string> </value>
</item>
<item>
<key> <string>visible</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<global name="Expression" module="Products.CMFCore.Expression"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>string:${object_url}/WebPage_viewAsJio</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<workflow_chain> <workflow_chain>
<chain> <chain>
<type>Notebook</type> <type>Notebook</type>
<workflow>edit_workflow</workflow> <workflow>document_conversion_interaction_workflow, document_publication_workflow, document_security_interaction_workflow, edit_workflow, processing_status_workflow</workflow>
</chain> </chain>
</workflow_chain> </workflow_chain>
\ No newline at end of file
...@@ -53,7 +53,9 @@ ...@@ -53,7 +53,9 @@
<item> <item>
<key> <string>bottom</string> </key> <key> <string>bottom</string> </key>
<value> <value>
<list/> <list>
<string>my_text_content</string>
</list>
</value> </value>
</item> </item>
<item> <item>
...@@ -73,7 +75,6 @@ ...@@ -73,7 +75,6 @@
<value> <value>
<list> <list>
<string>my_title</string> <string>my_title</string>
<string>my_text_content</string>
</list> </list>
</value> </value>
</item> </item>
......
/*global window, rJS, RSVP */ /*global window, rJS, RSVP, document, localStorage */
/*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";
...@@ -36,8 +36,8 @@ ...@@ -36,8 +36,8 @@
}) })
.declareMethod("getContent", function () { .declareMethod("getContent", function () {
var dict = {}; var dict = {};
dict[this.state.key] = localStorage.getItem('AUTOSAVE: untitled'); dict[this.state.key] = localStorage.getItem('AUTOSAVE: untitled');
return dict; return dict;
}); });
}(window, rJS, RSVP)); }(window, rJS, RSVP));
erp5_base erp5_base
\ No newline at end of file erp5_dms
\ No newline at end of file
Notebook Module | view Notebook Module | view
Notebook | jio_view
Notebook | view Notebook | view
\ No newline at end of file
Notebook | edit_workflow Notebook | document_conversion_interaction_workflow
\ No newline at end of file Notebook | document_publication_workflow
Notebook | document_security_interaction_workflow
Notebook | edit_workflow
Notebook | processing_status_workflow
\ 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