From: Maciej Tronowski Date: Fri, 20 Mar 2015 12:57:36 +0000 (+0100) Subject: hide no items info on error X-Git-Tag: v1.0~124 X-Git-Url: http://mmka.chem.univ.gda.pl/gitweb/?a=commitdiff_plain;ds=sidebyside;h=562511e3faaa87a7082033c45f7ed2c788a2ef50;p=qcg-portal.git hide no items info on error --- 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();