]> git.mxchange.org Git - friendica.git/commitdiff
Enables error messages for files too
authorJonny Tischbein <jonny_tischbein@systemli.org>
Mon, 29 Oct 2018 22:28:20 +0000 (23:28 +0100)
committerJonny Tischbein <jonny_tischbein@systemli.org>
Mon, 29 Oct 2018 22:28:20 +0000 (23:28 +0100)
view/theme/frio/js/filebrowser.js

index ee0b985a61de8a8cfc19b250f7833ce5bc54c16f..40c0fbb7443bb9daecd3c7f4cd47f1da166548a9 100644 (file)
@@ -176,10 +176,10 @@ var FileBrowser = {
                                        },\r
                                        onComplete: function(file,response) {\r
                                                if (response['error'] != undefined) {\r
-                                                       $(".fbrowser-content").show();\r
                                                        $(".error span").html(response['error']);\r
                                                        $(".error").removeClass('hidden');\r
                                                        $(".fbrowser .profile-rotator-wrapper").hide();\r
+                                                       $(".fbrowser-content").show();\r
                                                        return;\r
                                                }\r
 \r
@@ -210,6 +210,7 @@ var FileBrowser = {
                                                        $(".error span").html(response['error']);\r
                                                        $(".error").removeClass('hidden');\r
                                                        $('#profile-rotator').hide();\r
+                                                       $(".fbrowser-content").show();\r
                                                        return;\r
                                                }\r
 \r