GlobalKeymap.handleKeyEvent does not stop event propagation if no binding matches.

This commit is contained in:
Corey Johnson & Nathan Sobo
2012-01-11 12:51:42 -08:00
parent 278ac6a9f2
commit 83a68dbbb0
3 changed files with 12 additions and 12 deletions

View File

@@ -20,9 +20,9 @@ class GlobalKeymap
for bindingSet in candidateBindingSets
if command = bindingSet.commandForEvent(event)
$(event.target).trigger(command)
return true
return false
currentNode = currentNode.parent()
false
true
reset: ->
@BindingSets = []