add loading indication to statistics dialog

This commit is contained in:
rolux 2012-03-23 09:13:13 +00:00
parent a2ae4eb6cc
commit e8414967b4

View file

@ -54,7 +54,20 @@ pandora.ui.statisticsDialog = function() {
})
],
closeButton: true,
content: Ox.Element(),
content: Ox.Element().append(
$('<img>')
.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,