projects
/
app.Builder.js
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0e8252
)
Sample/Window.js
author
Alan Knowles
<alan@akbkhome.com>
Tue, 22 Jun 2010 10:31:16 +0000
(18:31 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Tue, 22 Jun 2010 10:31:16 +0000
(18:31 +0800)
Sample/Window.js
patch
|
blob
|
history
diff --git
a/Sample/Window.js
b/Sample/Window.js
index
177751f
..
824aa45
100644
(file)
--- a/
Sample/Window.js
+++ b/
Sample/Window.js
@@
-3020,11
+3020,10
@@
Window=new XObject({
this.highlightWidget = false;
this.withDebug = false;
-
- if (this.renderedEl) {
- this.get('view').el.remove(this.renderedEl);
- this.renderedEl.destroy();
- this.renderedEl = false;
+ while (this.get('view').el.children.length) {
+ var c = this.get('view').el.children[0];
+ this.get('view').el.remove(c);
+ c.destroy();
}
if (!data) {
return;