diff options
author | Peter Grassberger <petertheone@gmail.com> | 2016-01-20 23:08:33 (GMT) |
---|---|---|
committer | Peter Grassberger <petertheone@gmail.com> | 2016-01-20 23:08:33 (GMT) |
commit | a9224f7dc48420330341b08b3e387d571d5e9ab4 (patch) | |
tree | 76ffe9edecbf94fc21d1d600fc921bc5695587c3 /www/js/musicpools.js | |
parent | d14e1c29570092fb55699534b5401bb710121f4e (diff) |
fix musicgrid dow bug, add missing hours, style fullWidth
Diffstat (limited to 'www/js/musicpools.js')
-rw-r--r-- | www/js/musicpools.js | 3 |
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(); }; |