this.container.setContent(
'<iframe width="100%" height="100%" src="'+baseURL+'/Builder/App/' + app + '?no_parts=1"></iframe>'
);
- var iframe = this.container.el.select('iframe',true).first()
+ var iframe = this.container.el.select('iframe',true).first();
iframe.setSize( this.panel.el.getSize());
return;
}
+ if(nodeName == 'BR'){
+ cb("<BR/>");
+ return;
+ }
+
var i = 0;
// Prints the node tagName, such as <A>, <IMG>, etc
if (tagName) {
// add xattr data?
if (add_xattr) {
- cfg.xattr = {
- xtype : cfg['|xns'] + '.' + cfg.xtype
- };
+
+ if(typeof(cfg.xattr) != 'undefined'){
+
+ cfg.xattr.xtype = cfg['|xns'] + '.' + cfg.xtype;
+ }else{
+ cfg.xattr = {
+ xtype : cfg['|xns'] + '.' + cfg.xtype
+ };
+ }
}
}
if (cfg.items[0]['|xns'] == 'Roo.bootstrap') {
- Roo.log('----------------------------run draw----------------------------');
-// Roo.log(cfg.items[0]);return;
- // if xtype = 'modal...'
- // construct the modal..
- // and show it..
if (cfg.items[0].xtype =='Modal' ) {
-
+ this.bootstrapModal = Roo.factory(cfg.items[0]);
+ this.bootstrapModal.show();
+ return;
}
-
Roo.log("bootstrap build!?");
var top = new Roo.bootstrap.Body({});
top.onRender(false,false);
- this.bootstrapModal = top.addxtype(cfg.items[0]).items[0];
+ this.bootstrapModal = top.addxtype(cfg.items[0]);
this.applyFlexy(top);
- if (cfg.items[0].xtype =='Modal' ) {
- this.bootstrapModal.show();
- }
+
return;
}
if (!e.dom.href.match(/bootstrap\.\min.css$/)) {
return;
}
- e.dom.setAttribute('href', rootURL +'/bootswatch/' + name + '/bootstrap.min.css' );
+ e.dom.setAttribute('href', rootURL +'/themes/' + name + '/bootstrap.min.css' );
});
if (typeof(tree['flexy:if']) != 'undefined') {
tree.el.attr('flexy:if', tree['flexy:if']);
}
+ if (typeof(tree['flexy:nameuses']) != 'undefined') {
+ (tree.inputEl() !== 'undefined') ? tree.inputEl().attr('flexy:nameuses', tree['flexy:nameuses']) : tree.el.attr('flexy:nameuses', tree['flexy:nameuses']);
+ }
if (!tree.items || !tree.items.length) { return; }
for (var i = 0; i < tree.items.length; i++){