From e8414967b472077b5e49eb0fc1e3aefff7164a1c Mon Sep 17 00:00:00 2001 From: rolux Date: Fri, 23 Mar 2012 09:13:13 +0000 Subject: [PATCH] add loading indication to statistics dialog --- static/js/pandora/statisticsDialog.js | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/static/js/pandora/statisticsDialog.js b/static/js/pandora/statisticsDialog.js index 7dd4f36b..d8f132a3 100644 --- a/static/js/pandora/statisticsDialog.js +++ b/static/js/pandora/statisticsDialog.js @@ -54,7 +54,20 @@ pandora.ui.statisticsDialog = function() { }) ], closeButton: true, - content: Ox.Element(), + content: Ox.Element().append( + $('') + .attr({src: Ox.UI.getImageURL('symbolLoadingAnimated')}) + .css({ + position: 'absolute', + width: '32px', + height: '32px', + left: 0, + top: 0, + right: 0, + bottom: 0, + margin: 'auto' + }) + ), height: dialogHeight, maximizeButton: true, minHeight: 256,