projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2fd6524
)
Roo/bootstrap/Modal.js
author
Alan Knowles
<alan@roojs.com>
Tue, 13 Oct 2015 09:56:16 +0000
(17:56 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 13 Oct 2015 09:56:16 +0000
(17:56 +0800)
Roo/bootstrap/Modal.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Modal.js
b/Roo/bootstrap/Modal.js
index
46b311d
..
c10793f
100644
(file)
--- a/
Roo/bootstrap/Modal.js
+++ b/
Roo/bootstrap/Modal.js
@@
-55,6
+55,10
@@
Roo.bootstrap.Modal = function(config){
"btnclick" : true
});
this.buttons = this.buttons || [];
+ if (this.tmpl) {
+ this.tmpl = Roo.factory(this.tmpl);
+ }
+
};
Roo.extend(Roo.bootstrap.Modal, Roo.bootstrap.Component, {