aboutsummaryrefslogtreecommitdiff
path: root/js/io/ui/save-as-dialog.reel/save-as-dialog.js
diff options
context:
space:
mode:
authorValerio Virgillito2012-05-16 15:32:36 -0700
committerValerio Virgillito2012-05-16 15:32:36 -0700
commitfd54dabad7cbc27a0efb0957155c00d578912909 (patch)
treeb38e0a4bca414a762ea79b97213d48b7fddfac30 /js/io/ui/save-as-dialog.reel/save-as-dialog.js
parent13ae16997d4bbca14e255d5989d1c44a76eac72c (diff)
downloadninja-fd54dabad7cbc27a0efb0957155c00d578912909.tar.gz
changing @change to propertyChangeListener
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'js/io/ui/save-as-dialog.reel/save-as-dialog.js')
-rw-r--r--js/io/ui/save-as-dialog.reel/save-as-dialog.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/io/ui/save-as-dialog.reel/save-as-dialog.js b/js/io/ui/save-as-dialog.reel/save-as-dialog.js
index e2f50ff5..a27d9d13 100644
--- a/js/io/ui/save-as-dialog.reel/save-as-dialog.js
+++ b/js/io/ui/save-as-dialog.reel/save-as-dialog.js
@@ -57,7 +57,7 @@ var SaveAsDialog = exports.SaveAsDialog = Montage.create(Component, {
57 this.fileInputField.selectDirectory = true; 57 this.fileInputField.selectDirectory = true;
58 this.fileInputField.pickerName = "saveAsDirectoryPicker"; 58 this.fileInputField.pickerName = "saveAsDirectoryPicker";
59 59
60 this.addEventListener("change@newFileName.value", this.handleNewFileNameChange, false); 60 this.addPropertyChangeListener("newFileName.value", this.handleNewFileNameChange, false);
61 this.newFileName.element.addEventListener("keyup", this, false); 61 this.newFileName.element.addEventListener("keyup", this, false);
62 this.eventManager.addEventListener("newFileDirectorySet", function(evt){self.handleNewFileDirectorySet(evt);}, false); 62 this.eventManager.addEventListener("newFileDirectorySet", function(evt){self.handleNewFileDirectorySet(evt);}, false);
63 this.okButton.addEventListener("click", function(evt){self.handleOkButtonAction(evt);}, false); 63 this.okButton.addEventListener("click", function(evt){self.handleOkButtonAction(evt);}, false);