projects
/
app.Builder.js
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
c7f35df
)
resources/roo.builder.js
author
Alan Knowles
<alan@roojs.com>
Wed, 27 Aug 2014 09:55:57 +0000
(17:55 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 27 Aug 2014 09:55:57 +0000
(17:55 +0800)
resources/roo.builder.js
patch
|
blob
|
history
diff --git
a/resources/roo.builder.js
b/resources/roo.builder.js
index
5f7b732
..
25874ea
100644
(file)
--- a/
resources/roo.builder.js
+++ b/
resources/roo.builder.js
@@
-17,7
+17,7
@@
Builder = {
-
saveHTML : function( )
+ saveHTML : function( )
{
//print("TRAVERSE DOM?");
@@
-25,8
+25,11
@@
Builder = {
//print(dom);
var ret = '';
//Roo.select('body > div',true).each(function(el) {
+ // if the tree is not ready yet?
+
+
this.traverseDOMTree(function(s) { ret+=s; }, dom, 1);
- alert("IPC:SAVEHTML:" + ret);
+
alert("IPC:SAVEHTML:" + ret);
return ret;
},