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({
|
.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())
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue