aboutsummaryrefslogtreecommitdiff
path: root/js/io/ui/new-file-dialog/new-file-workflow-controller.js
diff options
context:
space:
mode:
authorhwc4872012-04-19 13:01:43 -0700
committerhwc4872012-04-19 13:01:43 -0700
commite6a20fe64574763483dc602bd759278ccf5e5e68 (patch)
tree69defe7200206f0257fe90697136fadef59d521e /js/io/ui/new-file-dialog/new-file-workflow-controller.js
parentae7eb87564632ce7c676bd728b8ff2710ff0bb83 (diff)
parent9284c19f076dec3b47ece7dc7bcd22d74e4246c3 (diff)
downloadninja-e6a20fe64574763483dc602bd759278ccf5e5e68.tar.gz
Merge branch 'master' of github.com:Motorola-Mobility/ninja-internal into Textures
Conflicts: js/lib/drawing/world.js js/lib/geom/geom-obj.js js/lib/rdge/materials/cloud-material.js js/lib/rdge/materials/deform-material.js js/lib/rdge/materials/flat-material.js js/lib/rdge/materials/material.js js/lib/rdge/materials/pulse-material.js js/lib/rdge/materials/relief-tunnel-material.js js/lib/rdge/materials/square-tunnel-material.js js/lib/rdge/materials/star-material.js js/lib/rdge/materials/taper-material.js js/lib/rdge/materials/tunnel-material.js js/lib/rdge/materials/twist-material.js js/lib/rdge/materials/twist-vert-material.js js/lib/rdge/materials/uber-material.js js/lib/rdge/materials/water-material.js js/lib/rdge/materials/z-invert-material.js
Diffstat (limited to 'js/io/ui/new-file-dialog/new-file-workflow-controller.js')
-rwxr-xr-xjs/io/ui/new-file-dialog/new-file-workflow-controller.js14
1 files changed, 12 insertions, 2 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 d065ca35..279a74b4 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
@@ -27,6 +27,16 @@ var NewFileWorkflowController = exports.NewFileWorkflowController = Montage.cre
27 value: null 27 value: null
28 }, 28 },
29 29
30 newFileOptionsNav:{
31 enumerable:true,
32 value: null
33 },
34
35 saveAsDialog:{
36 enumerable:true,
37 value: null
38 },
39
30 showNewFileDialog:{ 40 showNewFileDialog:{
31 writable:false, 41 writable:false,
32 enumerable:true, 42 enumerable:true,
@@ -49,7 +59,7 @@ var NewFileWorkflowController = exports.NewFileWorkflowController = Montage.cre
49 this.model.defaultProjectType = lastSelectedProjectType; 59 this.model.defaultProjectType = lastSelectedProjectType;
50 } 60 }
51 61
52 var newFileOptionsNav = newFileOptionsNavigatorModule.NewFileOptionsNavigator.create(); 62 var newFileOptionsNav = this.newFileOptionsNav = newFileOptionsNavigatorModule.NewFileOptionsNavigator.create();
53 newFileOptionsNav.newFileModel = this.model; 63 newFileOptionsNav.newFileModel = this.model;
54 64
55 var popup = Popup.create(); 65 var popup = Popup.create();
@@ -70,7 +80,7 @@ var NewFileWorkflowController = exports.NewFileWorkflowController = Montage.cre
70 var fileName = data.fileName || "filename.txt"; 80 var fileName = data.fileName || "filename.txt";
71 var folderUri = data.folderUri || "/Documents"; 81 var folderUri = data.folderUri || "/Documents";
72 82
73 var saveAsDialog = saveAsModule.SaveAsDialog.create(); 83 var saveAsDialog = this.saveAsDialog = saveAsModule.SaveAsDialog.create();
74 saveAsDialog.fileName = fileName; 84 saveAsDialog.fileName = fileName;
75 saveAsDialog.folderUri = folderUri; 85 saveAsDialog.folderUri = folderUri;
76 saveAsDialog.callback = data.callback; 86 saveAsDialog.callback = data.callback;