diff options
author | Ananya Sen | 2012-02-10 01:55:30 -0800 |
---|---|---|
committer | Ananya Sen | 2012-02-10 01:55:30 -0800 |
commit | ad0ee69be3512325ede94738f23597086a141a3e (patch) | |
tree | 938c531ee1592e14807fa3d96f439bf8483d9fbc /js/io/ui/new-file-dialog/new-file-options-navigator.reel/new-file-options-navigator.js | |
parent | 67a5b6a1fb352bdc69ff05297268c27e7e2ba795 (diff) | |
download | ninja-ad0ee69be3512325ede94738f23597086a141a3e.tar.gz |
file open and file new integrated again
Signed-off-by: Ananya Sen <Ananya.Sen@motorola.com>
Diffstat (limited to 'js/io/ui/new-file-dialog/new-file-options-navigator.reel/new-file-options-navigator.js')
-rw-r--r-- | js/io/ui/new-file-dialog/new-file-options-navigator.reel/new-file-options-navigator.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/js/io/ui/new-file-dialog/new-file-options-navigator.reel/new-file-options-navigator.js b/js/io/ui/new-file-dialog/new-file-options-navigator.reel/new-file-options-navigator.js index bcb9d123..f514b81a 100644 --- a/js/io/ui/new-file-dialog/new-file-options-navigator.reel/new-file-options-navigator.js +++ b/js/io/ui/new-file-dialog/new-file-options-navigator.reel/new-file-options-navigator.js | |||
@@ -230,10 +230,10 @@ var NewFileOptionsNavigator = exports.NewFileOptionsNavigator = Montage.create(C | |||
230 | ){ | 230 | ){ |
231 | this.error.innerHTML=""; | 231 | this.error.innerHTML=""; |
232 | //console.log("$$$ new file selections: \n" + selectionlog); | 232 | //console.log("$$$ new file selections: \n" + selectionlog); |
233 | if(!!this.newFileModel.callback && !!this.newFileModel.callbackScope){//inform document-controller if save successful | 233 | if(!!this.newFileModel.callback){//inform document-controller if save successful |
234 | this.newFileModel.callback.call(this.newFileModel.callbackScope, {"fileTemplateUri":selectedProjectTypeID, | 234 | this.newFileModel.callback({"fileTemplateUri":selectedProjectTypeID, |
235 | "newFilePath":newFilePath, | 235 | "newFilePath":newFilePath, |
236 | "fileExtension":fileExtension});//document-controller api | 236 | "fileExtension":fileExtension});//document-controller api |
237 | }else{ | 237 | }else{ |
238 | //send selection event | 238 | //send selection event |
239 | var newFileSelectionEvent = document.createEvent("Events"); | 239 | var newFileSelectionEvent = document.createEvent("Events"); |