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