diff options
author | Ananya Sen | 2012-05-22 17:58:23 -0700 |
---|---|---|
committer | Ananya Sen | 2012-05-22 17:58:23 -0700 |
commit | ee54342b5f4fdd41c46543d6402e649e4b3d57cb (patch) | |
tree | 398dca895c78b5a6a04cb2adcc32c6483c395356 /js/mediators | |
parent | 3493df6f1b1eaa20bb4f391e19c19bb7f3c872a0 (diff) | |
download | ninja-ee54342b5f4fdd41c46543d6402e649e4b3d57cb.tar.gz |
- don't redraw stage for code document - fixes a switching bug
- fix for ctrl+S for code document
- disallow opening the panels while in code document
Signed-off-by: Ananya Sen <Ananya.Sen@motorola.com>
Diffstat (limited to 'js/mediators')
-rwxr-xr-x | js/mediators/keyboard-mediator.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/mediators/keyboard-mediator.js b/js/mediators/keyboard-mediator.js index 23a2ce75..2f55edb4 100755 --- a/js/mediators/keyboard-mediator.js +++ b/js/mediators/keyboard-mediator.js | |||
@@ -88,7 +88,7 @@ exports.KeyboardMediator = Montage.create(Component, { | |||
88 | 88 | ||
89 | //keyboard controls for html design view | 89 | //keyboard controls for html design view |
90 | // TODO - New template mode doesn't set currentView yet. | 90 | // TODO - New template mode doesn't set currentView yet. |
91 | if((!!this.application.ninja.currentDocument)){// && (this.application.ninja.currentDocument.model.currentView === "design")){ | 91 | if((!!this.application.ninja.currentDocument) && (this.application.ninja.currentDocument.model.currentView === "design")){ |
92 | 92 | ||
93 | // Don't do anything if an input or other control is focused | 93 | // Don't do anything if an input or other control is focused |
94 | if(document.activeElement.nodeName !== "BODY") { | 94 | if(document.activeElement.nodeName !== "BODY") { |