aboutsummaryrefslogtreecommitdiff
path: root/js/components/ui/FilePicker/file-input-field.reel
diff options
context:
space:
mode:
Diffstat (limited to 'js/components/ui/FilePicker/file-input-field.reel')
-rwxr-xr-xjs/components/ui/FilePicker/file-input-field.reel/file-input-field.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/js/components/ui/FilePicker/file-input-field.reel/file-input-field.js b/js/components/ui/FilePicker/file-input-field.reel/file-input-field.js
index 8710de63..235be8ad 100755
--- a/js/components/ui/FilePicker/file-input-field.reel/file-input-field.js
+++ b/js/components/ui/FilePicker/file-input-field.reel/file-input-field.js
@@ -70,8 +70,7 @@ var FileInputField = exports.FileInputField = Montage.create(Component, {
70 settings.inFileMode = true; 70 settings.inFileMode = true;
71 settings.pickerName = this.pickerName || "fileSelector"; 71 settings.pickerName = this.pickerName || "fileSelector";
72 } 72 }
73 settings.callback = this.filePickerCallback; 73 settings.callback = this.filePickerCallback.bind(this);
74 settings.callbackScope = this;
75 openFilePicker.settings = settings; 74 openFilePicker.settings = settings;
76 this.eventManager.dispatchEvent(openFilePicker); 75 this.eventManager.dispatchEvent(openFilePicker);
77 } 76 }