diff options
author | hwc487 | 2012-07-09 16:08:02 -0700 |
---|---|---|
committer | hwc487 | 2012-07-09 16:08:02 -0700 |
commit | 5085d0f67df89a21715308956004164597a6ba79 (patch) | |
tree | 2c896163143a66331205a39b0a3b1b45d51bf12a /js/io/ui/new-file-dialog/new-file-options-navigator.reel/new-file-options-navigator.js | |
parent | 51f1691f792dbda9b740ded8aa0457c9406db156 (diff) | |
parent | 84b3327bd92faafab7954b5eb64c7abe24a3fe13 (diff) | |
download | ninja-5085d0f67df89a21715308956004164597a6ba79.tar.gz |
Merge branch 'master' of github.com:Motorola-Mobility/ninja-internal into GridFixes
Conflicts:
js/helper-classes/3D/StageLine.js
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 | 14 |
1 files changed, 7 insertions, 7 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 a888d304..a8fec1e4 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 | |||
@@ -142,8 +142,8 @@ var NewFileOptionsNavigator = exports.NewFileOptionsNavigator = Montage.create(C | |||
142 | }, | 142 | }, |
143 | 143 | ||
144 | didDraw: { | 144 | didDraw: { |
145 | enumerable: false, | 145 | enumerable: false, |
146 | value: function() { | 146 | value: function() { |
147 | var that = this; | 147 | var that = this; |
148 | 148 | ||
149 | this.templateList = null; | 149 | this.templateList = null; |
@@ -309,7 +309,7 @@ var NewFileOptionsNavigator = exports.NewFileOptionsNavigator = Montage.create(C | |||
309 | handleOkButtonAction:{ | 309 | handleOkButtonAction:{ |
310 | value: function(evt){ | 310 | value: function(evt){ |
311 | var templateData, | 311 | var templateData, |
312 | selectedProjectTypeID = this.selectedProjectType.uri, | 312 | selectedProjectTypeID = this.selectedProjectType.uri, |
313 | templateID = this.selectedTemplate.uri, | 313 | templateID = this.selectedTemplate.uri, |
314 | projectName = this.newFileLocation.newFileName.value, | 314 | projectName = this.newFileLocation.newFileName.value, |
315 | projectDirectory = this.newFileLocation.fileInputField.newFileDirectory.value, | 315 | projectDirectory = this.newFileLocation.fileInputField.newFileDirectory.value, |
@@ -324,10 +324,10 @@ var NewFileOptionsNavigator = exports.NewFileOptionsNavigator = Montage.create(C | |||
324 | "projectDirectory="+projectDirectory+"\n"+ | 324 | "projectDirectory="+projectDirectory+"\n"+ |
325 | "projectWidth="+projectWidth+"\n"+ | 325 | "projectWidth="+projectWidth+"\n"+ |
326 | "projectHeight="+projectHeight; | 326 | "projectHeight="+projectHeight; |
327 | //////////////////////////////////////////////////////////////////// | 327 | //////////////////////////////////////////////////////////////////// |
328 | //Template data must be passed during file creation (lots of confusion data here, should be cleaned up…) | 328 | //Template data must be passed during file creation (lots of confusion data here, should be cleaned up…) |
329 | templateData = {id: templateID, name: this.newFileModel.projectTypeData[selectedProjectTypeID].name, type: this.newFileModel.projectTypeData[selectedProjectTypeID].type}; | 329 | templateData = {id: templateID, name: this.newFileModel.projectTypeData[selectedProjectTypeID].name, type: this.newFileModel.projectTypeData[selectedProjectTypeID].type}; |
330 | //////////////////////////////////////////////////////////////////// | 330 | //////////////////////////////////////////////////////////////////// |
331 | 331 | ||
332 | if(/[^/\\]$/g.test(projectDirectory)){ | 332 | if(/[^/\\]$/g.test(projectDirectory)){ |
333 | projectDirectory = projectDirectory + "/"; | 333 | projectDirectory = projectDirectory + "/"; |