summaryrefslogtreecommitdiff
path: root/www/js/musicpools.js
diff options
context:
space:
mode:
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();
};