This commit is contained in:
Luc Didry
2018-02-07 22:10:41 +01:00
parent 8b9791b6b4
commit 6ab6b76c8f
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -534,7 +534,7 @@ sub short {
}
my $test;
if (defined($touit)) {
if (defined($touit) && $image->mediatype !~ m/svg/) {
$test = 1;
my $short = $image->short;
$short .= '/'.$key if (defined($key));
+2 -2
View File
@@ -172,9 +172,9 @@ function buildMessage(success, msg) {
'<div class="alert alert-danger">',
'<button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>',
'<strong><%= l('Something bad happened') %></strong><br>',
msg.filename,
cleanName(msg.filename, false),
'<br>',
msg.msg,
cleanName(msg.msg, false),
'</div>'
].join('');
}