},
- nodeTitle : function(c) {
+ nodeTitle : function(c, renderfull) {
var txt = [];
c = c || {};
var sr = (typeof(c['+buildershow']) != 'undefined') && !c['+buildershow'] ? true : false;
if (sr) txt.push('<s>');
if (typeof(c['*prop']) != 'undefined') { txt.push(c['*prop']+ ':'); }
+
+ if (renderfull && c['|xns']) {
+ txt.push(c['|xns']);
+ }
+
if (c.xtype) { txt.push(c.xtype); }
if (c.id) { txt.push('<b>[id=' + c.id + ']</b>'); }
if (c.fieldLabel) { txt.push('[' + c.fieldLabel + ']'); }
}
},
nodeTip : function(c) {
- var ret = this.nodeTitle(c);
+ var ret = this.nodeTitle(c,true);
var funcs = '';
var jsstr = JSON.stringify(js[0]);
var runbuilder = '<script type="text/javascript">' + "\n" +
- "Roo.onReady(function() { Builder.render(" + jsstr + "); });\n" +
+ " Builder.render(" + jsstr + ");\n" +
'</script>';
html = html.replace('</body>', runbuilder + '</body>');
File.write( target+ '/builder.html', html);
-
+ this.get('/Terminal').feed("RUN DIR:" + target);
+
+ this.get('/Terminal').el.fork_command( null , [], [], target
+ , false,false,false);
+ var cmd = "firefox file://" + target + "/builder.html \n";
+ this.get('/Terminal').el.feed_child(cmd, cmd.length);
return false;
}
}