projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
550e90d
)
Roo/View.js
author
Alan Knowles
<alan@akbkhome.com>
Mon, 26 Jul 2010 05:54:41 +0000
(13:54 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Mon, 26 Jul 2010 05:54:41 +0000
(13:54 +0800)
Roo/View.js
patch
|
blob
|
history
diff --git
a/Roo/View.js
b/Roo/View.js
index
c17c379
..
58ad227
100644
(file)
--- a/
Roo/View.js
+++ b/
Roo/View.js
@@
-50,8
+50,9
@@
Roo.View = function(config, depreciated_tpl, depreciated_config){
if (typeof(depreciated_tpl) == 'undefined') {
- config = depreciated_container;
- depreciated_tpl = config.template;
+ // new way..
+ Roo.apply(this, config);
+ this.el = Roo.get(this.el);
} else {
// old format..
this.el = Roo.get(config);