summaryrefslogtreecommitdiff
path: root/www/js
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2016-09-16 16:08:39 (GMT)
committerChristian Pointner <equinox@helsinki.at>2016-09-16 16:08:39 (GMT)
commite48e1c9aa72f71cb6c8caaf564571eacde09c531 (patch)
treed5368986f2af1e0c7de7c7bf0e94b8f6288b2b8c /www/js
parent8345e332cceaac0c99c6473f1d0cfb3e9fba499e (diff)
fixed music pool selector modal
Diffstat (limited to 'www/js')
-rw-r--r--www/js/musicgrid.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/www/js/musicgrid.js b/www/js/musicgrid.js
index 80b8735..7c7c0b3 100644
--- a/www/js/musicgrid.js
+++ b/www/js/musicgrid.js
@@ -103,9 +103,10 @@ Rdxport.MusicpoolModal.prototype.selectClock = function(dow, hour, clockName) {
$('#musicpoolModal').modal({keyboard: true});
var $modalBody = $('#musicpoolModal .modal-body');
+ var $modalHeader = $('#musicpoolModal .modal-header');
- $('h4', $modalHeader).text('Musikpool auswählen für Tag: ' + dow + ' Stunde: ' + hour + '.');
-
+ var hourstr = Number(hour).pad(2) + ':00-' + Number(Number(hour) + 1).pad(2) + ':00';
+ $('h4', $modalHeader).text('Musikpool auswählen für: ' + weekday[dow] + ' ' + hourstr);
$('tbody', $modalBody).empty();
var self = this;