Commit 7ce8b5ed authored by Richard's avatar Richard Committed by Vincent Bechu

[erp5_notebook]: add workflow to notebook, add erp5_dms as dependency, load...

[erp5_notebook]: add workflow to notebook, add erp5_dms as dependency, load iodide notebook in notebook module, change indentation of gadget_officejs_jio_notebook.js, update security settings
parent 32832200
<?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>
<chain>
<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>
</workflow_chain>
\ No newline at end of file
......@@ -53,7 +53,9 @@
<item>
<key> <string>bottom</string> </key>
<value>
<list/>
<list>
<string>my_text_content</string>
</list>
</value>
</item>
<item>
......@@ -73,7 +75,6 @@
<value>
<list>
<string>my_title</string>
<string>my_text_content</string>
</list>
</value>
</item>
......
/*global window, rJS, RSVP */
/*global window, rJS, RSVP, document, localStorage */
/*jslint nomen: true, indent: 2, maxerr: 3 */
(function (window, rJS, RSVP) {
"use strict";
......@@ -29,15 +29,15 @@
this.element.querySelector('script').textContent = this.state.value;
if (!modified_dict.hasOwnProperty('first_render')) {
throw new Error('Sorry, it is not possible to dynamically change the iodide content');
}
var iodide = document.createElement("script");
iodide.src = "iodide_master.js";
this.element.appendChild(iodide);
}
var iodide = document.createElement("script");
iodide.src = "iodide_master.js";
this.element.appendChild(iodide);
})
.declareMethod("getContent", function () {
var dict = {};
dict[this.state.key] = localStorage.getItem('AUTOSAVE: untitled');
return dict;
var dict = {};
dict[this.state.key] = localStorage.getItem('AUTOSAVE: untitled');
return dict;
});
}(window, rJS, RSVP));
}(window, rJS, RSVP));
\ No newline at end of file
erp5_base
\ No newline at end of file
erp5_base
erp5_dms
\ No newline at end of file
Notebook Module | view
Notebook | jio_view
Notebook | view
\ No newline at end of file
Notebook | edit_workflow
\ No newline at end of file
Notebook | document_conversion_interaction_workflow
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