Skip to content
Permalink
Browse files

Fix unnecessary scroll on welcome modal

Merge remote-tracking branch 'origin/pr/14622' into 3.x

* origin/pr/14622:
  Fix indent
  Changed commas structure
  Fix unnecessary scroll on welcome modal
  • Loading branch information...
opengeek committed Jul 11, 2019
2 parents ba92e9b + aabba1a commit 565a3d50abc29f3c0472b9c44e78affcc6f936d4
Showing with 19 additions and 1 deletion.
  1. +19 −1 manager/assets/modext/sections/welcome.js
@@ -27,7 +27,25 @@ MODx.loadWelcomePanel = function(url) {
,height: 500
,modal: true
,layout: 'fit'
,html: '<iframe onload="parent.MODx.helpWindow.getEl().unmask();" src="' + url + '" width="100%" height="100%" frameborder="0"></iframe>'
,items: [{
xtype: 'container'
,layout: {
type: 'vbox'
,align: 'stretch'
}
,width: '100%'
,height: '100%'
,items: [{
autoEl: {
tag: 'iframe'
,src: url
,width: '100%'
,height: '100%'
,frameBorder: 0
,onload: 'parent.MODx.helpWindow.getEl().unmask();'
}
}]
}]
});
MODx.helpWindow.show(Ext.getBody());
};

0 comments on commit 565a3d5

Please sign in to comment.
You can’t perform that action at this time.