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

index 4b1e52d..80e46fc 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?