diff options
author | rstular <rok@stular.eu> | 2020-05-17 23:21:15 +0200 |
---|---|---|
committer | rstular <rok@stular.eu> | 2020-05-17 23:22:13 +0200 |
commit | b0d7eb0101a6c8a26c97a1c7069e4496706225ec (patch) | |
tree | e5abe0c98c9cced0b63bab787b90905c3e49aa07 | |
parent | Styling fix, lopolis fix (diff) | |
download | beziapp-b0d7eb0101a6c8a26c97a1c7069e4496706225ec.tar beziapp-b0d7eb0101a6c8a26c97a1c7069e4496706225ec.tar.gz beziapp-b0d7eb0101a6c8a26c97a1c7069e4496706225ec.tar.bz2 beziapp-b0d7eb0101a6c8a26c97a1c7069e4496706225ec.tar.lz beziapp-b0d7eb0101a6c8a26c97a1c7069e4496706225ec.tar.xz beziapp-b0d7eb0101a6c8a26c97a1c7069e4496706225ec.tar.zst beziapp-b0d7eb0101a6c8a26c97a1c7069e4496706225ec.zip |
-rw-r--r-- | assets/js/meals.js | 6 | ||||
-rw-r--r-- | dist/js/meals.js | 6 | ||||
-rw-r--r-- | dist/pages/about.html | 2 | ||||
-rw-r--r-- | dist/sw.js | 4 |
4 files changed, 7 insertions, 11 deletions
diff --git a/assets/js/meals.js b/assets/js/meals.js index 0f4230e..e9b3af8 100644 --- a/assets/js/meals.js +++ b/assets/js/meals.js @@ -278,10 +278,8 @@ async function lopolisLogin() { } }, - error: (xhr) => { - if (xhr.status !== 401) { - UIAlert( D("loginError"), "lopolisLogin(): ajax.error"); - } + error: () => { + UIAlert( D("loginError"), "lopolisLogin(): ajax.error"); setLoading(false); } }); diff --git a/dist/js/meals.js b/dist/js/meals.js index 0f4230e..e9b3af8 100644 --- a/dist/js/meals.js +++ b/dist/js/meals.js @@ -278,10 +278,8 @@ async function lopolisLogin() { } }, - error: (xhr) => { - if (xhr.status !== 401) { - UIAlert( D("loginError"), "lopolisLogin(): ajax.error"); - } + error: () => { + UIAlert( D("loginError"), "lopolisLogin(): ajax.error"); setLoading(false); } }); diff --git a/dist/pages/about.html b/dist/pages/about.html index a61ad63..e9d1152 100644 --- a/dist/pages/about.html +++ b/dist/pages/about.html @@ -142,7 +142,7 @@ <div class="row"> <p> <small> - ^HEAD 21f22aec32a40cba0c085ca82808dd32f68cdaac + ^HEAD b8d872d3487cbe1b6ce510bb08da799b31bd5567 </small> </p> </div> @@ -3,8 +3,8 @@ // Change version to cause cache refresh -const static_cache_name = "site-static-1.0.13-beta-21f22ae"; -// latest commit is 21f22aec32a40cba0c085ca82808dd32f68cdaac +const static_cache_name = "site-static-1.0.13-beta-b8d872d"; +// latest commit is b8d872d3487cbe1b6ce510bb08da799b31bd5567 // Got them with find . -not -path '*/\.*' | sed "s/.*/\"&\",/" | grep -v sw.js // sw.js NE SME BITI CACHAN, ker vsebuje verzijo! |