mirror of
https://github.com/friendica/friendica
synced 2025-04-26 15:50:10 +00:00
Show error message if image exceeds limit + fix close button
This commit is contained in:
parent
933f43218a
commit
780d1edf04
2 changed files with 2 additions and 1 deletions
|
@ -176,6 +176,7 @@ 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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue