Commit 61c625c7 authored by Yusei Tahara's avatar Yusei Tahara

[erp5_web_renderjs_ui] Stop calling skipWaiting() and clients.claim() for the new service worker.

To preserve the consistency of code and data, let the new service worker wait until all tabs and windows of the old version are closed.
parent dac9a653
......@@ -178,10 +178,6 @@
})
)
})
.then(function () {
// At this point everything has been cached
return self.skipWaiting();
})
);
});
......@@ -242,9 +238,6 @@
})
);
})
.then(function () {
self.clients.claim();
})
);
});
......
......@@ -228,7 +228,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>976.12179.24771.41523</string> </value>
<value> <string>976.12184.1503.10769</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -246,7 +246,7 @@
</tuple>
<state>
<tuple>
<float>1559719201.36</float>
<float>1559722495.74</float>
<string>UTC</string>
</tuple>
</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