summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--assets/js/login.js7
-rwxr-xr-xdist/js/app.js2
-rw-r--r--dist/js/login.js7
-rwxr-xr-xdist/pages/about.html2
-rwxr-xr-xdist/sw.js4
5 files changed, 16 insertions, 6 deletions
diff --git a/assets/js/login.js b/assets/js/login.js
index ca663c2..3094b5e 100644
--- a/assets/js/login.js
+++ b/assets/js/login.js
@@ -26,7 +26,12 @@ function login() {
try {
var gsecInstance = new gsec();
} catch (error) {
- alert(D("browserNotSupported"));
+ $.getScript("/js/gsec.js");
+ try {
+ var gsecInstance = new gsec();
+ } catch (error) {
+ alert(D("browserNotSupported"));
+ }
}
gsecInstance.login(username, password).then( (value) => {
if (typeof value == "string") {
diff --git a/dist/js/app.js b/dist/js/app.js
index 6ab1e02..b0ab5bb 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 = "6989c8d5adeed595797c3691eeffa670dfeaf0ce";
+const previous_commit = "0bbebb72ee64d7b33cd8da60c797b4fe1c7b9d60";
if ("serviceWorker" in navigator) {
navigator.serviceWorker.register("/sw.js")
diff --git a/dist/js/login.js b/dist/js/login.js
index ca663c2..3094b5e 100644
--- a/dist/js/login.js
+++ b/dist/js/login.js
@@ -26,7 +26,12 @@ function login() {
try {
var gsecInstance = new gsec();
} catch (error) {
- alert(D("browserNotSupported"));
+ $.getScript("/js/gsec.js");
+ try {
+ var gsecInstance = new gsec();
+ } catch (error) {
+ alert(D("browserNotSupported"));
+ }
}
gsecInstance.login(username, password).then( (value) => {
if (typeof value == "string") {
diff --git a/dist/pages/about.html b/dist/pages/about.html
index bf616d8..752e511 100755
--- a/dist/pages/about.html
+++ b/dist/pages/about.html
@@ -142,7 +142,7 @@
<div class="row">
<p>
<small>
- ^HEAD 6989c8d5adeed595797c3691eeffa670dfeaf0ce
+ ^HEAD 0bbebb72ee64d7b33cd8da60c797b4fe1c7b9d60
</small>
</p>
</div>
diff --git a/dist/sw.js b/dist/sw.js
index 287af4e..40a684c 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-6989c8d";
-// latest commit is 6989c8d5adeed595797c3691eeffa670dfeaf0ce
+const static_cache_name = "site-static-1.0.13-beta-0bbebb7";
+// latest commit is 0bbebb72ee64d7b33cd8da60c797b4fe1c7b9d60
// Got them with find . -not -path '*/\.*' | sed "s/.*/\"&\",/" | grep -v sw.js
// sw.js NE SME BITI CACHAN, ker vsebuje verzijo!