Roo/ContentPanel.js
authorChris <chris@roojs.com>
Mon, 21 Oct 2013 11:28:15 +0000 (19:28 +0800)
committerChris <chris@roojs.com>
Mon, 21 Oct 2013 11:28:15 +0000 (19:28 +0800)
Roo/ContentPanel.js

index 3204088..a0dcd5c 100644 (file)
@@ -438,7 +438,7 @@ layout.addxtype({
             return this.form;
         }
         // should only have one of theses..
-        if (['View', 'JsonView', 'DatePicker'].indexOf(cfg.xtype) > -1) {
+        if ([/*'View',*/ 'JsonView', 'DatePicker'].indexOf(cfg.xtype) > -1) {
             // views..
             cfg.el = this.el.appendChild(document.createElement("div"));
             // factory?