fix #1126 ('0 requests' -> 'No requests')

This commit is contained in:
rolux 2012-11-04 12:13:34 +01:00
parent dba0e27630
commit 2126f642c3

View file

@ -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')
});
}
});