diff options
author | Armen Kesablyan | 2012-03-15 15:14:28 -0700 |
---|---|---|
committer | Armen Kesablyan | 2012-03-15 15:14:28 -0700 |
commit | 725bb869618b9e0ebb2820a24bca5d1cf53a4810 (patch) | |
tree | a89562f07ff974a518da88689e49b0c958d567c8 /js/mediators/keyboard-mediator.js | |
parent | 089534a80c64226bf7d124ab9147afce386fdb5c (diff) | |
download | ninja-725bb869618b9e0ebb2820a24bca5d1cf53a4810.tar.gz |
Initial Data Binding Mediator
Signed-off-by: Armen Kesablyan <armen@motorola.com>
Diffstat (limited to 'js/mediators/keyboard-mediator.js')
-rwxr-xr-x | js/mediators/keyboard-mediator.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/js/mediators/keyboard-mediator.js b/js/mediators/keyboard-mediator.js index 65dd34cd..85a46739 100755 --- a/js/mediators/keyboard-mediator.js +++ b/js/mediators/keyboard-mediator.js | |||
@@ -203,6 +203,8 @@ exports.KeyboardMediator = Montage.create(Component, { | |||
203 | } | 203 | } |
204 | 204 | ||
205 | 205 | ||
206 | |||
207 | |||
206 | if((evt.keyCode == Keyboard.ENTER) && (evt.ctrlKey || evt.metaKey)) { | 208 | if((evt.keyCode == Keyboard.ENTER) && (evt.ctrlKey || evt.metaKey)) { |
207 | this.application.ninja.executeChromePreview(); | 209 | this.application.ninja.executeChromePreview(); |
208 | return; | 210 | return; |