mirror of
https://github.com/processwire/processwire.git
synced 2025-08-17 20:11:46 +02:00
Fix issue processwire/processwire-issues#768
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -1676,7 +1676,8 @@ function InputfieldImage($) {
|
||||
*/
|
||||
function errorItem(message, filename) {
|
||||
if(typeof filename !== "undefined") message = '<b>' + filename + ':</b> ' + message;
|
||||
return '<li>' + message + '</li>';
|
||||
var icon = "<i class='fa fa-fw fa-warning'></i> ";
|
||||
return '<li>' + icon + message + '</li>';
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -1986,6 +1987,7 @@ function InputfieldImage($) {
|
||||
|
||||
if(r.error) {
|
||||
$errorParent.append(errorItem(r.message));
|
||||
if(n == (response.length-1)) $progressItem.hide();
|
||||
continue;
|
||||
}
|
||||
|
||||
|
File diff suppressed because one or more lines are too long
@@ -48,6 +48,8 @@ $focusPointCircleSize: 40px;
|
||||
|
||||
// error listing
|
||||
.InputfieldImageErrors {
|
||||
padding-left: 0;
|
||||
margin-left: 0;
|
||||
li {
|
||||
margin-bottom: .5em;
|
||||
margin-top: 0;
|
||||
|
Reference in New Issue
Block a user