summaryrefslogtreecommitdiffstats
path: root/dist/js
diff options
context:
space:
mode:
authorsijanec <sijanecantonluka@gmail.com>2020-05-20 15:48:10 +0200
committersijanec <sijanecantonluka@gmail.com>2020-05-20 15:48:10 +0200
commita901be064c0baf208148d0dd1ac5530285d9968b (patch)
tree83031248674379872576597fd739fbccbd453bd2 /dist/js
parentthis is not a fix (diff)
downloadbeziapp-a901be064c0baf208148d0dd1ac5530285d9968b.tar
beziapp-a901be064c0baf208148d0dd1ac5530285d9968b.tar.gz
beziapp-a901be064c0baf208148d0dd1ac5530285d9968b.tar.bz2
beziapp-a901be064c0baf208148d0dd1ac5530285d9968b.tar.lz
beziapp-a901be064c0baf208148d0dd1ac5530285d9968b.tar.xz
beziapp-a901be064c0baf208148d0dd1ac5530285d9968b.tar.zst
beziapp-a901be064c0baf208148d0dd1ac5530285d9968b.zip
Diffstat (limited to 'dist/js')
-rwxr-xr-xdist/js/app.js2
-rw-r--r--dist/js/login.js7
2 files changed, 7 insertions, 2 deletions
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") {