diff options
author | Jon Reid | 2012-03-15 15:01:15 -0700 |
---|---|---|
committer | Jon Reid | 2012-03-15 15:01:15 -0700 |
commit | 75dd0a2d333be1448f3f8bc0edd10f1c9199f84c (patch) | |
tree | f3a157f8cd92a8defb47edc68d8881db46f20586 /js/io | |
parent | 21c941bd1fe55e511a72bfa5dc3019748158bd4a (diff) | |
parent | 68d82cb56cb0235599c46caf349f328f15300fdf (diff) | |
download | ninja-75dd0a2d333be1448f3f8bc0edd10f1c9199f84c.tar.gz |
Merge remote-tracking branch 'ninja-jduran/TimelineUber' into Timeline-local
Diffstat (limited to 'js/io')
-rwxr-xr-x | js/io/ui/new-file-dialog/new-file-workflow-controller.js | 11 |
1 files changed, 0 insertions, 11 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 901b61c7..d065ca35 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 | |||
@@ -70,21 +70,10 @@ var NewFileWorkflowController = exports.NewFileWorkflowController = Montage.cre | |||
70 | var fileName = data.fileName || "filename.txt"; | 70 | var fileName = data.fileName || "filename.txt"; |
71 | var folderUri = data.folderUri || "/Documents"; | 71 | var folderUri = data.folderUri || "/Documents"; |
72 | 72 | ||
73 | //render modal dialog | ||
74 | var saveAsDialogContainer = document.createElement("div"); | ||
75 | saveAsDialogContainer.id = "saveAsDialog"; | ||
76 | |||
77 | //elements needs to be on DOM to be drawn | ||
78 | document.getElementById('modalContainer').appendChild(saveAsDialogContainer); | ||
79 | |||
80 | var saveAsDialog = saveAsModule.SaveAsDialog.create(); | 73 | var saveAsDialog = saveAsModule.SaveAsDialog.create(); |
81 | saveAsDialog.fileName = fileName; | 74 | saveAsDialog.fileName = fileName; |
82 | saveAsDialog.folderUri = folderUri; | 75 | saveAsDialog.folderUri = folderUri; |
83 | saveAsDialog.callback = data.callback; | 76 | saveAsDialog.callback = data.callback; |
84 | saveAsDialog.element = saveAsDialogContainer; | ||
85 | |||
86 | //remove after rendering and add in modal dialog | ||
87 | document.getElementById('modalContainer').removeChild(saveAsDialogContainer); | ||
88 | 77 | ||
89 | var popup = Popup.create(); | 78 | var popup = Popup.create(); |
90 | popup.content = saveAsDialog; | 79 | popup.content = saveAsDialog; |