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:
efb593f
)
Sample/Window.js
author
Alan Knowles
<alan@akbkhome.com>
Tue, 25 May 2010 05:10:51 +0000
(13:10 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Tue, 25 May 2010 05:10:51 +0000
(13:10 +0800)
Sample/Window.js
patch
|
blob
|
history
diff --git
a/Sample/Window.js
b/Sample/Window.js
index
ce12bec
..
5db07ea
100644
(file)
--- a/
Sample/Window.js
+++ b/
Sample/Window.js
@@
-118,10
+118,12
@@
Window=new XObject({
this.get('/StandardErrorDialog').show("Select a project")
return;
}
- var pr = imports.Builder.Provider.ProjectManager.ProjectManager.getByFn(fn);
+ var pm = imports.Builder.Provider.ProjectManager.ProjectManager;
+ var pr = pm.getByFn(fn);
// confirm..
this.get('/DialogConfirm').show("Are you sure you want to delete project '" + pr.name + "'", function() {
+ pm.deleteProject(fn);
print("DELETE?");
});