Enables error messages for files too
This commit is contained in:
parent
780d1edf04
commit
f4d2f78233
1 changed files with 2 additions and 1 deletions
|
@ -176,10 +176,10 @@ var FileBrowser = {
|
|||
},
|
||||
onComplete: function(file,response) {
|
||||
if (response['error'] != undefined) {
|
||||
$(".fbrowser-content").show();
|
||||
$(".error span").html(response['error']);
|
||||
$(".error").removeClass('hidden');
|
||||
$(".fbrowser .profile-rotator-wrapper").hide();
|
||||
$(".fbrowser-content").show();
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -210,6 +210,7 @@ var FileBrowser = {
|
|||
$(".error span").html(response['error']);
|
||||
$(".error").removeClass('hidden');
|
||||
$('#profile-rotator').hide();
|
||||
$(".fbrowser-content").show();
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue