forked from 0x2620/pandora
use reloadPanel
This commit is contained in:
parent
4ab5ff873c
commit
5a87d6b8dd
1 changed files with 2 additions and 6 deletions
|
@ -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();
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue