summaryrefslogtreecommitdiff
path: root/www/js
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2015-06-28 00:33:38 (GMT)
committerChristian Pointner <equinox@helsinki.at>2015-06-28 00:33:38 (GMT)
commit2a65c8238ed4bbbc5e409675b3919b06964fda7b (patch)
tree46c6eac79775ac0b96d368ccbffd536f26ecaf36 /www/js
parent7ff7bfe241c9629be1e13319096b1ee24e5a126c (diff)
improved import error visualization
Diffstat (limited to 'www/js')
-rw-r--r--www/js/shows.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/www/js/shows.js b/www/js/shows.js
index 54c0cb7..8ebea41 100644
--- a/www/js/shows.js
+++ b/www/js/shows.js
@@ -54,6 +54,7 @@ function shows_importFileUploadError(cart, dz, file, msg, xhr) {
var error_row = shows_newImportErrorEntry(cart, msg);
error_row.find('button').unbind('click').click(function() { shows_deleteCart(cart); });
$('#show-cart-' + cart).replaceWith(error_row);
+ error_row.find('.file-name').text(file.name);
dz.disable();
}
@@ -185,7 +186,7 @@ function shows_newImportingEntry(cart) {
}
function shows_newImportErrorEntry(cart, msg) {
- var dismiss_button = '<button class="btn btn-danger btn-mini">' +
+ var dismiss_button = '<button class="btn btn-info btn-mini">' +
'<i class="icon-remove icon-white"></i> Ok</button>';
var xmlDoc = $.parseXML(msg);