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:
9aa713c
)
Sample/Window.js
author
Alan Knowles
<alan@akbkhome.com>
Thu, 5 Aug 2010 01:28:25 +0000
(09:28 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 5 Aug 2010 01:28:25 +0000
(09:28 +0800)
Sample/Window.js
patch
|
blob
|
history
diff --git
a/Sample/Window.js
b/Sample/Window.js
index
1622d27
..
d92ed15
100644
(file)
--- a/
Sample/Window.js
+++ b/
Sample/Window.js
@@
-2910,15
+2910,17
@@
Window=new XObject({
// this is run every 2 seconds from the init..
if (!this.refreshRequired) {
+ print("no refresh required");
return;
}
- this.refreshRequired = false;
+
if (!this.get('/Window.LeftTree').getActiveFile()) {
return;
}
+ this.refreshRequired = false;
print("HTML RENDERING");
this.get('/BottomPane').el.show();
@@
-2927,6
+2929,7
@@
Window=new XObject({
var js = this.get('/LeftTree.model').toJS();
if (!js || !js.length) {
+ print("no data");
return;
}
data = js[0];