From c66b002ff05daa130a86c26f0b42af3202ce06ba Mon Sep 17 00:00:00 2001 From: sijanec Date: Wed, 20 May 2020 15:57:59 +0200 Subject: scope error? + install --- dist/js/app.js | 2 +- dist/js/login.js | 5 +++-- dist/pages/about.html | 2 +- dist/sw.js | 4 ++-- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/dist/js/app.js b/dist/js/app.js index b0ab5bb..f45ab3f 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 = "0bbebb72ee64d7b33cd8da60c797b4fe1c7b9d60"; +const previous_commit = "a078f237a622d6aa01e07199769e427217d79d1c"; if ("serviceWorker" in navigator) { navigator.serviceWorker.register("/sw.js") diff --git a/dist/js/login.js b/dist/js/login.js index 3094b5e..fe56c53 100644 --- a/dist/js/login.js +++ b/dist/js/login.js @@ -23,12 +23,13 @@ function setupEventListeners() { function login() { let username = $("#username").val(); let password = $("#password").val(); + var gsecInstance; try { - var gsecInstance = new gsec(); + gsecInstance = new gsec(); } catch (error) { $.getScript("/js/gsec.js"); try { - var gsecInstance = new gsec(); + gsecInstance = new gsec(); } catch (error) { alert(D("browserNotSupported")); } diff --git a/dist/pages/about.html b/dist/pages/about.html index 752e511..b5897fe 100755 --- a/dist/pages/about.html +++ b/dist/pages/about.html @@ -142,7 +142,7 @@

- ^HEAD 0bbebb72ee64d7b33cd8da60c797b4fe1c7b9d60 + ^HEAD a078f237a622d6aa01e07199769e427217d79d1c

diff --git a/dist/sw.js b/dist/sw.js index 40a684c..31e3a02 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-0bbebb7"; -// latest commit is 0bbebb72ee64d7b33cd8da60c797b4fe1c7b9d60 +const static_cache_name = "site-static-1.0.13-beta-a078f23"; +// latest commit is a078f237a622d6aa01e07199769e427217d79d1c // Got them with find . -not -path '*/\.*' | sed "s/.*/\"&\",/" | grep -v sw.js // sw.js NE SME BITI CACHAN, ker vsebuje verzijo! -- cgit v1.2.3