Roo/bootstrap/Modal.js
authorAlan Knowles <alan@roojs.com>
Tue, 13 Oct 2015 09:56:16 +0000 (17:56 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 13 Oct 2015 09:56:16 +0000 (17:56 +0800)
Roo/bootstrap/Modal.js

index 46b311d..c10793f 100644 (file)
@@ -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,  {