mirror of
https://github.com/drakkan/sftpgo.git
synced 2024-04-21 12:32:38 +00:00
web: fix quota scan error message
This commit is contained in:
@@ -183,7 +183,11 @@
|
||||
if ($xhr) {
|
||||
var json = $xhr.responseJSON;
|
||||
if (json) {
|
||||
txt += ": " + json.error;
|
||||
if (json.message) {
|
||||
txt += ": " + json.message;
|
||||
} else if (json.error) {
|
||||
txt += ": " + json.error;
|
||||
}
|
||||
}
|
||||
}
|
||||
$('#errorTxt').text(txt);
|
||||
|
||||
Reference in New Issue
Block a user