summaryrefslogtreecommitdiff
path: root/www/js/musicpools.js
diff options
context:
space:
mode:
authorPeter Grassberger <petertheone@gmail.com>2016-01-20 23:08:33 (GMT)
committerPeter Grassberger <petertheone@gmail.com>2016-01-20 23:08:33 (GMT)
commita9224f7dc48420330341b08b3e387d571d5e9ab4 (patch)
tree76ffe9edecbf94fc21d1d600fc921bc5695587c3 /www/js/musicpools.js
parentd14e1c29570092fb55699534b5401bb710121f4e (diff)
fix musicgrid dow bug, add missing hours, style fullWidth
Diffstat (limited to 'www/js/musicpools.js')
-rw-r--r--www/js/musicpools.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/www/js/musicpools.js b/www/js/musicpools.js
index e2eea41..6b46981 100644
--- a/www/js/musicpools.js
+++ b/www/js/musicpools.js
@@ -38,7 +38,8 @@ function musicpools_cleanup() {
// this and jinglegroups are basicly the same
var Musicpools = function() {
// todo: get current Pool Id from session like shows?
- this.currentPoolId = null;
+ this.currentPoolId = sessionStorage.getItem("currentPoolId");
+ this.currentPoolId = this.currentPoolId === null ? 0 : this.currentPoolId;
this.musicpools = [];
this.fetch();
};