fix #1723 (When moving to news tab when site dialog is narrower than normal, layout is broken)

This commit is contained in:
rolux 2013-08-10 09:54:03 +00:00
parent daf8c8d5c5
commit 8eec34a3e8
2 changed files with 4 additions and 0 deletions

View file

@ -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') {

View file

@ -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') {