mirror of
https://github.com/processwire/processwire.git
synced 2025-08-18 12:31:17 +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) {
|
function errorItem(message, filename) {
|
||||||
if(typeof filename !== "undefined") message = '<b>' + filename + ':</b> ' + message;
|
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) {
|
if(r.error) {
|
||||||
$errorParent.append(errorItem(r.message));
|
$errorParent.append(errorItem(r.message));
|
||||||
|
if(n == (response.length-1)) $progressItem.hide();
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
File diff suppressed because one or more lines are too long
@@ -48,6 +48,8 @@ $focusPointCircleSize: 40px;
|
|||||||
|
|
||||||
// error listing
|
// error listing
|
||||||
.InputfieldImageErrors {
|
.InputfieldImageErrors {
|
||||||
|
padding-left: 0;
|
||||||
|
margin-left: 0;
|
||||||
li {
|
li {
|
||||||
margin-bottom: .5em;
|
margin-bottom: .5em;
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
|
Reference in New Issue
Block a user