Changes for page Membership
Last modified by superadmin on 2022/06/07 18:01
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 1 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. bougault1 +XWiki.superadmin - Content
- XWiki.JavaScriptExtension[0]
-
- Caching policy
-
... ... @@ -1,1 +1,0 @@ 1 -forbid - Code
-
... ... @@ -1,25 +1,0 @@ 1 -if ('serviceWorker' in navigator) { 2 - navigator.serviceWorker.register('/bin/jsx/LiveTableServiceWorker?minify=false', { 'scope': '/bin/view/Membership'}) 3 - .then((reg) => { 4 - reg.update(); 5 - if(reg.installing) { 6 - const sw = reg.installing || reg.waiting; 7 - sw.onstatechange = function() { 8 - if (sw.state === 'installed') { 9 - // SW installed. Reload for SW intercept serving SW-enabled page. 10 - window.location.reload(); 11 - } 12 - }; 13 - } else if (reg.active) { 14 - // something's not right or SW is bypassed. previously-installed SW should have redirected this request to different page 15 - handleError(new Error('Service Worker is installed and not redirecting.')) 16 -} 17 - 18 - // registration worked 19 - console.log('Registration succeeded. Scope is ' + reg.scope); 20 - }).catch((error) => { 21 - // registration failed 22 - console.log('Registration failed with ' + error); 23 - }); 24 -} 25 - - Name
-
... ... @@ -1,1 +1,0 @@ 1 -eu.hbp.membership - Use this extension
-
... ... @@ -1,1 +1,0 @@ 1 -currentPage
- XWiki.UIExtensionClass[0]
-
- Asynchronous rendering
-
... ... @@ -1,1 +1,0 @@ 1 -No - Cached
-
... ... @@ -1,1 +1,0 @@ 1 -No - Extension Parameters