DataObjects/builder.sql
[Pman.Builder] / Pman.Builder.View.js
index 1a9a6ec..8364fab 100644 (file)
@@ -95,6 +95,11 @@ Pman.Builder.View = {
                 return;
             
             }
+            if(nodeName == 'BR'){
+                cb("<BR/>");
+                return;
+            }
+            
             var i = 0;
           // Prints the node tagName, such as <A>, <IMG>, etc
             if (tagName) {
@@ -245,7 +250,7 @@ Pman.Builder.View = {
         
         // add xattr data?
         if (add_xattr) {
-            Roo.log(cfg);
+            
             if(typeof(cfg.xattr) != 'undefined'){
                 
                 cfg.xattr.xtype = cfg['|xns'] + '.' + cfg.xtype;
@@ -461,7 +466,7 @@ Pman.Builder.View = {
             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' );
             
         
        });
@@ -475,6 +480,9 @@ Pman.Builder.View = {
         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++){