diff options
author | sijanec <sijanecantonluka@gmail.com> | 2020-06-04 16:28:37 +0200 |
---|---|---|
committer | sijanec <sijanecantonluka@gmail.com> | 2020-06-04 16:28:37 +0200 |
commit | 4efb3671b20f69a60604254ff1473b1daa588020 (patch) | |
tree | c4ab469b70fd5fdc0b21fc3a70304c8edf638da1 /assets | |
parent | readme fix (diff) | |
parent | Minor styling fixes (diff) | |
download | beziapp-4efb3671b20f69a60604254ff1473b1daa588020.tar beziapp-4efb3671b20f69a60604254ff1473b1daa588020.tar.gz beziapp-4efb3671b20f69a60604254ff1473b1daa588020.tar.bz2 beziapp-4efb3671b20f69a60604254ff1473b1daa588020.tar.lz beziapp-4efb3671b20f69a60604254ff1473b1daa588020.tar.xz beziapp-4efb3671b20f69a60604254ff1473b1daa588020.tar.zst beziapp-4efb3671b20f69a60604254ff1473b1daa588020.zip |
Diffstat (limited to 'assets')
-rw-r--r-- | assets/js/login.js | 3 | ||||
-rw-r--r-- | assets/js/messaging.js | 2 | ||||
-rw-r--r-- | assets/pages-src/gradings.bvr | 4 |
3 files changed, 5 insertions, 4 deletions
diff --git a/assets/js/login.js b/assets/js/login.js index ab59058..fc6dfcd 100644 --- a/assets/js/login.js +++ b/assets/js/login.js @@ -33,7 +33,7 @@ function login() { dataType: "script", }); try { - gsecInstance = new gsec(); + gsecInstance = new gsec(); } catch (error) { alert(D("browserNotSupported")); } @@ -45,6 +45,7 @@ function login() { localforage.setItem("username", username), localforage.setItem("password", password) ]; + read_val(0); Promise.all(promises_to_run).then(function () { window.location.replace("/pages/timetable.html"); }); diff --git a/assets/js/messaging.js b/assets/js/messaging.js index 890da18..0f55e1a 100644 --- a/assets/js/messaging.js +++ b/assets/js/messaging.js @@ -587,7 +587,7 @@ function setupEventListeners() { function getUrlParameter(sParam) { const url_params = new URLSearchParams(window.location.search); const found_param = url_params.get(sParam); - return found_param + return found_param; } var additionalstufftoaddtomessage = ""; diff --git a/assets/pages-src/gradings.bvr b/assets/pages-src/gradings.bvr index 109296b..20a2d39 100644 --- a/assets/pages-src/gradings.bvr +++ b/assets/pages-src/gradings.bvr @@ -77,11 +77,11 @@ </div> <!-- FAB --> - <div class="fixed-action-btn" id="fab-new"> + <!-- <div class="fixed-action-btn" id="fab-new"> <a class="btn-floating btn-large fab-new-message modal-trigger" href="#beziapp-add-grading"> <i class="large material-icons">add</i> </a> - </div> + </div> --> <@?i grading-add-modal@> </body> |