From 562511e3faaa87a7082033c45f7ed2c788a2ef50 Mon Sep 17 00:00:00 2001 From: Maciej Tronowski Date: Fri, 20 Mar 2015 13:57:36 +0100 Subject: [PATCH] hide no items info on error --- filex/static/filex/filex.js | 1 + 1 file changed, 1 insertion(+) diff --git a/filex/static/filex/filex.js b/filex/static/filex/filex.js index e8039ac..3aed569 100644 --- a/filex/static/filex/filex.js +++ b/filex/static/filex/filex.js @@ -291,6 +291,7 @@ $(function(){ var msg = (response.responseJSON || {}).msg || 'Błąd serwera'; + view.$noItems.hide(); view.$error.find('.msg').text(msg); view.$error.show(); view.idle(); -- 1.7.9.5