1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-17 20:11:46 +02:00
This commit is contained in:
Ryan Cramer
2019-03-19 09:09:44 -04:00
parent d72062a805
commit 2aa2342e18
4 changed files with 7 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@@ -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

View File

@@ -48,6 +48,8 @@ $focusPointCircleSize: 40px;
// error listing
.InputfieldImageErrors {
padding-left: 0;
margin-left: 0;
li {
margin-bottom: .5em;
margin-top: 0;