try and get ctrl-enter to add a clear all
[roojs1] / Roo / ViewPanel.js
index bee21da..7ca1e2e 100644 (file)
@@ -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);
         
@@ -48,6 +47,8 @@ Roo.ViewPanel = function(el, config){
 };
 
 Roo.extend(Roo.ViewPanel, Roo.ContentPanel, {
+    
+    autoCreate : true,
     getId : function(){
         return this.view.id;
     },