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:
6127c27
)
Sample/RooProjectProperties.js
author
Alan Knowles
<alan@akbkhome.com>
Tue, 25 May 2010 11:37:46 +0000
(19:37 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Tue, 25 May 2010 11:37:46 +0000
(19:37 +0800)
Sample/RooProjectProperties.js
patch
|
blob
|
history
diff --git
a/Sample/RooProjectProperties.js
b/Sample/RooProjectProperties.js
index
d9a4fd3
..
d445362
100644
(file)
--- a/
Sample/RooProjectProperties.js
+++ b/
Sample/RooProjectProperties.js
@@
-14,7
+14,11
@@
RooProjectProperties=new XObject({
modal : true,
show : function() {
// get the active project.
-
+ var file = this.get('/Window.LeftTree').getActiveFile();
+ if (!file) {
+ this.get('/StandardErrorDialog').show("No file is currently active");
+ return;
+ }
var project = this.get('/Window.LeftTree').getActiveFile().project;
print (project.fn);