summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsijanec <sijanecantonluka@gmail.com>2020-05-20 16:25:59 +0200
committersijanec <sijanecantonluka@gmail.com>2020-05-20 16:25:59 +0200
commitc721f2fd02613a5f8d5beb3b66a3681542da2048 (patch)
tree013c21d052b4f705386e02133f6f223c1f4c2458
parentProbi, hopefully bo to resl problen (diff)
downloadbeziapp-c721f2fd02613a5f8d5beb3b66a3681542da2048.tar
beziapp-c721f2fd02613a5f8d5beb3b66a3681542da2048.tar.gz
beziapp-c721f2fd02613a5f8d5beb3b66a3681542da2048.tar.bz2
beziapp-c721f2fd02613a5f8d5beb3b66a3681542da2048.tar.lz
beziapp-c721f2fd02613a5f8d5beb3b66a3681542da2048.tar.xz
beziapp-c721f2fd02613a5f8d5beb3b66a3681542da2048.tar.zst
beziapp-c721f2fd02613a5f8d5beb3b66a3681542da2048.zip
-rw-r--r--assets/js/login.js6
-rw-r--r--assets/root/sw.js.bvr5
-rwxr-xr-xdist/js/app.js2
-rw-r--r--dist/js/login.js6
-rwxr-xr-xdist/pages/about.html2
-rwxr-xr-xdist/sw.js9
6 files changed, 22 insertions, 8 deletions
diff --git a/assets/js/login.js b/assets/js/login.js
index fe56c53..ab59058 100644
--- a/assets/js/login.js
+++ b/assets/js/login.js
@@ -27,7 +27,11 @@ function login() {
try {
gsecInstance = new gsec();
} catch (error) {
- $.getScript("/js/gsec.js");
+ $.ajax({
+ url: 'js/gsec.js?ajaxload',
+ async: false,
+ dataType: "script",
+ });
try {
gsecInstance = new gsec();
} catch (error) {
diff --git a/assets/root/sw.js.bvr b/assets/root/sw.js.bvr
index 8ba3c05..c3e7988 100644
--- a/assets/root/sw.js.bvr
+++ b/assets/root/sw.js.bvr
@@ -84,7 +84,10 @@ const assets = [
"/js/jitsi.js",
"/pages/chats.html",
"/js/chats.js",
- "/css/bubbles.css"
+ "/css/bubbles.css",
+
+ "/js/gsec.js",
+ "/js/gsec.js?ajaxload"
];
importScripts("/js/lib/localforage.min.js");
diff --git a/dist/js/app.js b/dist/js/app.js
index bcaa127..5eb611a 100755
--- a/dist/js/app.js
+++ b/dist/js/app.js
@@ -3,7 +3,7 @@
const app_version = "1.0.13-beta";
-const previous_commit = "0a045055fbfa8a5228f1deeca9d85a4b6a7b0fca";
+const previous_commit = "3b61e8681d5db498e76fa1c843062a0a7a403c64";
if ("serviceWorker" in navigator) {
navigator.serviceWorker.register("/sw.js")
diff --git a/dist/js/login.js b/dist/js/login.js
index fe56c53..ab59058 100644
--- a/dist/js/login.js
+++ b/dist/js/login.js
@@ -27,7 +27,11 @@ function login() {
try {
gsecInstance = new gsec();
} catch (error) {
- $.getScript("/js/gsec.js");
+ $.ajax({
+ url: 'js/gsec.js?ajaxload',
+ async: false,
+ dataType: "script",
+ });
try {
gsecInstance = new gsec();
} catch (error) {
diff --git a/dist/pages/about.html b/dist/pages/about.html
index 226713d..a096be9 100755
--- a/dist/pages/about.html
+++ b/dist/pages/about.html
@@ -142,7 +142,7 @@
<div class="row">
<p>
<small>
- ^HEAD 0a045055fbfa8a5228f1deeca9d85a4b6a7b0fca
+ ^HEAD 3b61e8681d5db498e76fa1c843062a0a7a403c64
</small>
</p>
</div>
diff --git a/dist/sw.js b/dist/sw.js
index b64f587..6c69043 100755
--- a/dist/sw.js
+++ b/dist/sw.js
@@ -3,8 +3,8 @@
// Change version to cause cache refresh
-const static_cache_name = "site-static-1.0.13-beta-0a04505";
-// latest commit is 0a045055fbfa8a5228f1deeca9d85a4b6a7b0fca
+const static_cache_name = "site-static-1.0.13-beta-3b61e86";
+// latest commit is 3b61e8681d5db498e76fa1c843062a0a7a403c64
// Got them with find . -not -path '*/\.*' | sed "s/.*/\"&\",/" | grep -v sw.js
// sw.js NE SME BITI CACHAN, ker vsebuje verzijo!
@@ -87,7 +87,10 @@ const assets = [
"/js/jitsi.js",
"/pages/chats.html",
"/js/chats.js",
- "/css/bubbles.css"
+ "/css/bubbles.css",
+
+ "/js/gsec.js",
+ "/js/gsec.js?ajaxload"
];
importScripts("/js/lib/localforage.min.js");