From 780d1edf0487f831ab0829189b58fbd9f2b34cd7 Mon Sep 17 00:00:00 2001 From: Jonny Tischbein Date: Mon, 29 Oct 2018 23:06:42 +0100 Subject: [PATCH] Show error message if image exceeds limit + fix close button --- view/theme/frio/js/filebrowser.js | 1 + view/theme/frio/templates/filebrowser.tpl | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/view/theme/frio/js/filebrowser.js b/view/theme/frio/js/filebrowser.js index 270172072d..ee0b985a61 100644 --- a/view/theme/frio/js/filebrowser.js +++ b/view/theme/frio/js/filebrowser.js @@ -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(); diff --git a/view/theme/frio/templates/filebrowser.tpl b/view/theme/frio/templates/filebrowser.tpl index dc3c47a66a..d452810c88 100644 --- a/view/theme/frio/templates/filebrowser.tpl +++ b/view/theme/frio/templates/filebrowser.tpl @@ -13,7 +13,7 @@ {{* The breadcrumb navigation *}} -- 2.39.5