Commit 8e84d1da authored by Vincent Bechu's avatar Vincent Bechu

[erp5_officejs] Adapt text editor site, cache and view to use officejs css

parent 2fbe4c23
...@@ -165,13 +165,11 @@ ...@@ -165,13 +165,11 @@
var header_dict = { var header_dict = {
page_title: gadget.state.doc.title, page_title: gadget.state.doc.title,
selection_url: url_list[0], selection_url: url_list[0],
previous_url: url_list[1],
next_url: url_list[2],
save_action: true save_action: true
}; };
if (gadget.state.editable) { if (!gadget.state.editable) {
header_dict.edit_properties = url_list[3].replace("n.editable=true", "").replace("p.editable=true", ""); header_dict.previous_url = url_list[1];
} else { header_dict.next_url = url_list[2];
header_dict.edit_content = url_list[3]; header_dict.edit_content = url_list[3];
} }
return gadget.updateHeader(header_dict); return gadget.updateHeader(header_dict);
......
...@@ -232,7 +232,7 @@ ...@@ -232,7 +232,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>961.12101.47166.29371</string> </value> <value> <string>961.56676.15315.62907</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -250,7 +250,7 @@ ...@@ -250,7 +250,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1502094289.32</float> <float>1504534090.64</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -119,7 +119,7 @@ font-awesome/font-awesome-webfont.woff\n ...@@ -119,7 +119,7 @@ font-awesome/font-awesome-webfont.woff\n
font-awesome/font-awesome-webfont.woff2\n font-awesome/font-awesome-webfont.woff2\n
font-awesome/font-awesome-webfont.ttf\n font-awesome/font-awesome-webfont.ttf\n
font-awesome/font-awesome-webfont.svg\n font-awesome/font-awesome-webfont.svg\n
gadget_erp5_nojqm.css\n gadget_officejs_nojqm.css\n
jio_mappingstorage.js\n jio_mappingstorage.js\n
jio_fixstorage.js\n jio_fixstorage.js\n
gadget_erp5_global.js\n gadget_erp5_global.js\n
...@@ -350,7 +350,7 @@ NETWORK:\n ...@@ -350,7 +350,7 @@ NETWORK:\n
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>961.10686.10882.5973</string> </value> <value> <string>961.46357.14957.50005</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -368,7 +368,7 @@ NETWORK:\n ...@@ -368,7 +368,7 @@ NETWORK:\n
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1502956848.36</float> <float>1504530140.93</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -391,9 +391,7 @@ ...@@ -391,9 +391,7 @@
</item> </item>
<item> <item>
<key> <string>configuration_stylesheet_url</string> </key> <key> <string>configuration_stylesheet_url</string> </key>
<value> <value> <string>gadget_officejs_nojqm.css</string> </value>
<none/>
</value>
</item> </item>
<item> <item>
<key> <string>configuration_translation_gadget_url</string> </key> <key> <string>configuration_translation_gadget_url</string> </key>
...@@ -666,7 +664,7 @@ ...@@ -666,7 +664,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>961.56843.9723.38348</string> </value> <value> <string>961.16277.24517.44253</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -684,7 +682,7 @@ ...@@ -684,7 +682,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1504539684.91</float> <float>1504529296.63</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
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