diff options
author | Christian Pointner <equinox@helsinki.at> | 2016-02-05 06:07:12 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2016-02-05 06:07:12 (GMT) |
commit | 58d574f5a77264a2052006964b8ba2c3116a46a3 (patch) | |
tree | 839b0fe336045ab7790b58ac198f2fd5bbfa62a3 /www/js | |
parent | ed2534651cd10fa810ab921491a6653888bd1285 (diff) |
some fixes for uploadmodal - still not working...
Diffstat (limited to 'www/js')
-rw-r--r-- | www/js/importer.js | 4 | ||||
-rw-r--r-- | www/js/musicgrid.js | 2 | ||||
-rw-r--r-- | www/js/shows.js | 6 |
3 files changed, 6 insertions, 6 deletions
diff --git a/www/js/importer.js b/www/js/importer.js index f2c3db3..c17c953 100644 --- a/www/js/importer.js +++ b/www/js/importer.js @@ -31,7 +31,7 @@ Rivendell.Importer = function() { }; Rivendell.Importer.prototype.resetModal = function() { - $('div.modal-header h3', this.$el).text("Datei auswählen..."); + $('div.modal-header h4', this.$el).text("Datei auswählen..."); $('.modal-body', this.$el).css("background-image", "url('/img/dz-backdrop.png')"); $('#uploadModal-confirm', this.$el).attr('disabled','disabled').off('click'); }; @@ -79,7 +79,7 @@ Rivendell.Importer.prototype.importFileAdded = function(dropzone, file, group, g });*/ $('div.modal-body', this.$el).css("background-image", "url('/img/audio_file.png')"); - $('div.modal-header h3', this.$el).text(file.name); + $('div.modal-header h4', this.$el).text(file.name); var self = this; $('#uploadModal-confirm', this.$el).off('click').on('click', function() { diff --git a/www/js/musicgrid.js b/www/js/musicgrid.js index e751b6c..2a5a742 100644 --- a/www/js/musicgrid.js +++ b/www/js/musicgrid.js @@ -105,7 +105,7 @@ Rivendell.MusicpoolModal.prototype.selectClock = function(dow, hour, clockName) var $modalHeader = $('#musicpoolModal .modal-header'); var $modalBody = $('#musicpoolModal .modal-body'); - $('h3', $modalHeader).html('Musikpool auswählen für Tag: ' + dow + ' Stunde: ' + hour + '.'); + $('h4', $modalHeader).html('Musikpool auswählen für Tag: ' + dow + ' Stunde: ' + hour + '.'); $('tbody', $modalBody).html(''); diff --git a/www/js/shows.js b/www/js/shows.js index 5ea3c35..07a906d 100644 --- a/www/js/shows.js +++ b/www/js/shows.js @@ -119,12 +119,12 @@ function shows_createImportForm(cart) { function shows_importFileAdded(dz, file, cart) { $(dz.getAcceptedFiles()).each(function(idx, elem) { dz.removeFile(elem); }); $('#uploadModal div.modal-body').css("background-image", "url('/img/audio_file.png')") - $('#uploadModal div.modal-header h3').text(file.name) + $('#uploadModal div.modal-header h4').text(file.name) $('#uploadModal-confirm').removeAttr('disabled').unbind('click').click(function() { shows_importCartConfirm(cart, dz); }); } function shows_importFileSelectError(dz, file, msg) { - $('#uploadModal div.modal-header h3').text("Datei auswählen...") + $('#uploadModal div.modal-header h4').text("Datei auswählen...") $('#uploadModal div.modal-body').css("background-image", "url('/img/dz-backdrop.png')"); $('#uploadModal-confirm').attr('disabled','disabled').unbind('click'); dz.removeFile(file); @@ -132,7 +132,7 @@ function shows_importFileSelectError(dz, file, msg) { function shows_importCart(cart) { var form = shows_createImportForm(cart); - $('#uploadModal div.modal-header h3').text("Datei auswählen...") + $('#uploadModal div.modal-header h4').text("Datei auswählen...") $('#uploadModal div.modal-body').empty().append(form).css("background-image", "url('/img/dz-backdrop.png')"); $('#uploadModal-confirm').attr('disabled','disabled').unbind('click'); var dz = form.dropzone({ url: "/rd-bin/rdxport.cgi", parallelUploads: 1, maxFilesize: 2048, paramName: 'FILENAME', |