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