From 2126f642c3afe31844f7a49a0f9a8d625910bfd8 Mon Sep 17 00:00:00 2001 From: rolux Date: Sun, 4 Nov 2012 12:13:34 +0100 Subject: [PATCH] fix #1126 ('0 requests' -> 'No requests') --- static/js/pandora.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/static/js/pandora.js b/static/js/pandora.js index 531091ae1..deacddc97 100644 --- a/static/js/pandora.js +++ b/static/js/pandora.js @@ -310,7 +310,9 @@ appPanel error: pandora.ui.errorDialog, request: function(data) { pandora.$ui.loadingIcon.options({ - tooltip: data.requests + ' request' + (data.requests == 1 ? '' : 's') + tooltip: (data.requests || 'No') + + ' request' + + (data.requests == 1 ? '' : 's') }); } });