Commit 60d8b45f authored by Vincent Bechu's avatar Vincent Bechu

erp5_web_renderjs_ui: modify local seting database name for officejs app

parent bf6ab3aa
...@@ -13,15 +13,6 @@ ...@@ -13,15 +13,6 @@
$.mobile.hashListeningEnabled = false; $.mobile.hashListeningEnabled = false;
$.mobile.pushStateEnabled = false; $.mobile.pushStateEnabled = false;
/*
if (navigator.hasOwnProperty('serviceWorker')) {
// Check if a ServiceWorker already controls the site on load
if (!navigator.serviceWorker.controller) {
// Register the ServiceWorker
navigator.serviceWorker.register('gadget_erp5_serviceworker.js');
}
}
*/
var MAIN_SCOPE = "m"; var MAIN_SCOPE = "m";
function renderMainGadget(gadget, url, options) { function renderMainGadget(gadget, url, options) {
...@@ -230,7 +221,7 @@ ...@@ -230,7 +221,7 @@
.push(function (jio_gadget) { .push(function (jio_gadget) {
return jio_gadget.createJio({ return jio_gadget.createJio({
type: "indexeddb", type: "indexeddb",
database: "setting" database: window.location.pathname + "setting"
}); });
}); });
}) })
......
...@@ -230,7 +230,7 @@ ...@@ -230,7 +230,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>952.55927.14574.22152</string> </value> <value> <string>957.11877.38028.13977</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -248,7 +248,7 @@ ...@@ -248,7 +248,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1469701036.4</float> <float>1487945144.32</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