X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=Roo%2FViewPanel.js;h=7ca1e2ec45b37dc4b20c4b6f0825133b93974830;hb=0b69a11b1055a6d3a3fd0719bdd58b5a235de0e4;hp=0279755070722f702b3407e34bca4e6c09375bfb;hpb=d04cd468ed00a8e6ab25ab15bd4b8705b631c35b;p=roojs1 diff --git a/Roo/ViewPanel.js b/Roo/ViewPanel.js index 0279755070..7ca1e2ec45 100644 --- a/Roo/ViewPanel.js +++ b/Roo/ViewPanel.js @@ -18,8 +18,7 @@ * @param {String/Object} config A string to set only the panel's title, or a config object */ Roo.ViewPanel = function(el, config){ - - + this.wrapper = Roo.DomHelper.append(document.body, // wrapper for IE7 strict & safari scroll issue {tag: "div", cls: "x-layout-grid-wrapper x-layout-inactive-content"}, true); @@ -38,6 +37,7 @@ Roo.ViewPanel = function(el, config){ this.footer = Roo.factory(this.footer, Roo); } + //??? create teh view??? //grid.monitorWindowResize = false; // turn off autosizing //grid.autoHeight = false; @@ -47,6 +47,8 @@ Roo.ViewPanel = function(el, config){ }; Roo.extend(Roo.ViewPanel, Roo.ContentPanel, { + + autoCreate : true, getId : function(){ return this.view.id; },