use reloadPanel

This commit is contained in:
j 2014-09-30 13:52:53 +02:00
parent 4ab5ff873c
commit 5a87d6b8dd

View file

@ -78,9 +78,7 @@ pandora.ui.statisticsDialog = function() {
.bindEvent({ .bindEvent({
resizeend: function(data) { resizeend: function(data) {
dialogWidth = data.width; dialogWidth = data.width;
$tabPanel.$element.replaceElement(1, $tabPanel.reloadPanel();
$tabPanel.options('content')($tabPanel.selected())
);
} }
}), }),
@ -171,9 +169,7 @@ pandora.ui.statisticsDialog = function() {
.css({float: 'left', margin: '4px'}) .css({float: 'left', margin: '4px'})
.bindEvent({ .bindEvent({
change: function() { change: function() {
$tabPanel.$element.replaceElement(1, $tabPanel.reloadPanel();
$tabPanel.options('content')($tabPanel.selected())
);
} }
}); });