fix #1723 (When moving to news tab when site dialog is narrower than normal, layout is broken)
This commit is contained in:
parent
daf8c8d5c5
commit
8eec34a3e8
2 changed files with 4 additions and 0 deletions
|
@ -169,6 +169,8 @@ pandora.ui.siteDialog = function(section) {
|
|||
},
|
||||
resize: function(data) {
|
||||
var selected = $tabPanel.selected();
|
||||
dialogHeight = data.height;
|
||||
dialogWidth = data.width;
|
||||
if (selected == 'contact') {
|
||||
pandora.$ui.contactForm.resize();
|
||||
} else if (selected == 'news') {
|
||||
|
|
|
@ -137,6 +137,8 @@ pandora.ui.siteDialog = function(section) {
|
|||
},
|
||||
resize: function(data) {
|
||||
var selected = $tabPanel.selected();
|
||||
dialogHeight = data.height;
|
||||
dialogWidth = data.width;
|
||||
if (selected == 'contact') {
|
||||
pandora.$ui.contactForm.resize();
|
||||
} else if (selected == 'news') {
|
||||
|
|
Loading…
Reference in a new issue