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) {
|
onComplete: function(file,response) {
|
||||||
if (response['error'] != undefined) {
|
if (response['error'] != undefined) {
|
||||||
$(".fbrowser-content").show();
|
|
||||||
$(".error span").html(response['error']);
|
$(".error span").html(response['error']);
|
||||||
$(".error").removeClass('hidden');
|
$(".error").removeClass('hidden');
|
||||||
$(".fbrowser .profile-rotator-wrapper").hide();
|
$(".fbrowser .profile-rotator-wrapper").hide();
|
||||||
|
$(".fbrowser-content").show();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -210,6 +210,7 @@ var FileBrowser = {
|
||||||
$(".error span").html(response['error']);
|
$(".error span").html(response['error']);
|
||||||
$(".error").removeClass('hidden');
|
$(".error").removeClass('hidden');
|
||||||
$('#profile-rotator').hide();
|
$('#profile-rotator').hide();
|
||||||
|
$(".fbrowser-content").show();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue