summaryrefslogtreecommitdiffstats
path: root/assets
diff options
context:
space:
mode:
authorrstular <rok@stular.eu>2020-06-02 16:07:57 +0200
committerrstular <rok@stular.eu>2020-06-02 16:07:57 +0200
commitd766f5af2b59ede34479dcce54b368c3bf816d2b (patch)
tree4c993a985eaa072eda88e33a7647ad3600a12dc4 /assets
parentGithub actions fix (diff)
downloadbeziapp-d766f5af2b59ede34479dcce54b368c3bf816d2b.tar
beziapp-d766f5af2b59ede34479dcce54b368c3bf816d2b.tar.gz
beziapp-d766f5af2b59ede34479dcce54b368c3bf816d2b.tar.bz2
beziapp-d766f5af2b59ede34479dcce54b368c3bf816d2b.tar.lz
beziapp-d766f5af2b59ede34479dcce54b368c3bf816d2b.tar.xz
beziapp-d766f5af2b59ede34479dcce54b368c3bf816d2b.tar.zst
beziapp-d766f5af2b59ede34479dcce54b368c3bf816d2b.zip
Diffstat (limited to 'assets')
-rw-r--r--assets/js/gradings.js18
1 files changed, 9 insertions, 9 deletions
diff --git a/assets/js/gradings.js b/assets/js/gradings.js
index a852337..f884bf2 100644
--- a/assets/js/gradings.js
+++ b/assets/js/gradings.js
@@ -176,15 +176,15 @@ document.addEventListener("DOMContentLoaded", () => {
calendar_obj.render();
// Modal for adding gradings
- setupPickers(); // todo (adding an event), to be stored in messages
- // Setup modals
- const modal_elems = document.querySelectorAll('.modal');
- const modal_options = {
- onOpenStart: () => { $("#fab-new").hide() },
- onCloseEnd: () => { $("#fab-new").show() },
- dismissible: false
- };
- M.Modal.init(modal_elems, modal_options);
+ // setupPickers(); // todo (adding an event), to be stored in messages
+ // // Setup modals
+ // const modal_elems = document.querySelectorAll('.modal');
+ // const modal_options = {
+ // onOpenStart: () => { $("#fab-new").hide() },
+ // onCloseEnd: () => { $("#fab-new").show() },
+ // dismissible: false
+ // };
+ // M.Modal.init(modal_elems, modal_options);
loadGradings(true);
// Setup refresh handler