Commit 34369ef8 authored by Vincent Bechu's avatar Vincent Bechu

[erp5_officejs] Fix zip export zip

parent 852d9513
...@@ -13,18 +13,23 @@ ...@@ -13,18 +13,23 @@
spec.origin_url : new URL(window.location); spec.origin_url : new URL(window.location);
this._version = spec.version || ""; this._version = spec.version || "";
this._gadget_list = []; this._gadget_list = [];
this._prefix = spec.prefix || "";
this._documents = {}; this._documents = {};
// Harcoded here, find a better way. // Harcoded here, find a better way.
this._relative_url_list = [ this._relative_url_list = [
"/", this._prefix + "/",
"gadget_officejs_bootloader.js", this._prefix + "gadget_officejs_bootloader.js",
"gadget_officejs_bootloader_presentation.html", this._prefix + "gadget_officejs_bootloader_presentation.html",
"gadget_officejs_bootloader_presentation.js", this._prefix + "gadget_officejs_bootloader_presentation.js",
"gadget_officejs_bootloader_presentation.css", this._prefix + "gadget_officejs_bootloader_presentation.css",
"gadget_officejs_bootloader_serviceworker.js", this._prefix + "gadget_officejs_bootloader_serviceworker.js",
"gadget_erp5_nojqm.css", this._prefix + "gadget_erp5_nojqm.css",
"jio_appcachestorage.js" this._prefix + "jio_appcachestorage.js"
]; ];
if (this._take_installer) {
this._version = 'app/';
}
this._version = this._prefix + this._version;
} }
AppCacheStorage.prototype.get = function (id) { AppCacheStorage.prototype.get = function (id) {
......
...@@ -239,7 +239,7 @@ ...@@ -239,7 +239,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>961.10590.54524.11827</string> </value> <value> <string>961.17737.55306.1348</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -257,7 +257,7 @@ ...@@ -257,7 +257,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1501764524.91</float> <float>1502193583.56</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -227,7 +227,7 @@ ...@@ -227,7 +227,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>960.34375.20392.48059</string> </value> <value> <string>961.17739.7403.25139</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -245,7 +245,7 @@ ...@@ -245,7 +245,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1499338910.54</float> <float>1502193354.69</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