projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e46abc2
)
Roo/ContentPanel.js
author
Alan Knowles
<alan@roojs.com>
Fri, 30 Nov 2012 08:24:53 +0000
(16:24 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 30 Nov 2012 08:24:53 +0000
(16:24 +0800)
Roo/ContentPanel.js
patch
|
blob
|
history
diff --git
a/Roo/ContentPanel.js
b/Roo/ContentPanel.js
index
5aed487
..
5ec3a17
100644
(file)
--- a/
Roo/ContentPanel.js
+++ b/
Roo/ContentPanel.js
@@
-96,6
+96,14
@@
Roo.ContentPanel = function(el, config, content){
}else{
this.resizeEl = this.el;
}
+ // handle view.xtype
+
+ if (this.view && typeof(this.view.xtype) != 'undefined') {
+ this.view = Roo.factory(this.view);
+ }
+
+
+
this.addEvents({
/**
* @event activate