diff options
author | Valerio Virgillito | 2012-02-23 01:55:14 -0800 |
---|---|---|
committer | Valerio Virgillito | 2012-02-23 01:55:14 -0800 |
commit | 64a971f63333d74ca89690892a52948b3bd4283a (patch) | |
tree | 61bac34de22852efd2b9b8880f62210685b16297 /js/io/ui/new-file-dialog | |
parent | aaa8d05cc3cfd94322d356e265b94b0abb9f6305 (diff) | |
parent | d264092596ba697cd04738566184270dc608be63 (diff) | |
download | ninja-64a971f63333d74ca89690892a52948b3bd4283a.tar.gz |
Merge branch 'FileIO' of github.com:joseeight/ninja-internal into file-io
Diffstat (limited to 'js/io/ui/new-file-dialog')
-rwxr-xr-x | js/io/ui/new-file-dialog/new-file-workflow-controller.js | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/js/io/ui/new-file-dialog/new-file-workflow-controller.js b/js/io/ui/new-file-dialog/new-file-workflow-controller.js index c2be687a..901b61c7 100755 --- a/js/io/ui/new-file-dialog/new-file-workflow-controller.js +++ b/js/io/ui/new-file-dialog/new-file-workflow-controller.js | |||
@@ -19,12 +19,6 @@ var NewFileWorkflowController = exports.NewFileWorkflowController = Montage.cre | |||
19 | writable:false, | 19 | writable:false, |
20 | enumerable:true, | 20 | enumerable:true, |
21 | value:function(){ | 21 | value:function(){ |
22 | var that = this; | ||
23 | |||
24 | this.eventManager.addEventListener("saveAs", function(evt){ | ||
25 | var data = evt._event.data || {};//data will contain the current file name, directory location and callback | ||
26 | that.showSaveAsDialog(data); | ||
27 | }, false); | ||
28 | } | 22 | } |
29 | }, | 23 | }, |
30 | 24 | ||
@@ -87,7 +81,6 @@ var NewFileWorkflowController = exports.NewFileWorkflowController = Montage.cre | |||
87 | saveAsDialog.fileName = fileName; | 81 | saveAsDialog.fileName = fileName; |
88 | saveAsDialog.folderUri = folderUri; | 82 | saveAsDialog.folderUri = folderUri; |
89 | saveAsDialog.callback = data.callback; | 83 | saveAsDialog.callback = data.callback; |
90 | saveAsDialog.callbackScope = data.callbackScope; | ||
91 | saveAsDialog.element = saveAsDialogContainer; | 84 | saveAsDialog.element = saveAsDialogContainer; |
92 | 85 | ||
93 | //remove after rendering and add in modal dialog | 86 | //remove after rendering and add in modal dialog |