Merge pull request +12481 from c9/fix-backspace

Fix backspace
This commit is contained in:
Harutyun Amirjanyan 2016-02-26 23:28:41 +04:00
commit fa58c1e021
2 changed files with 2 additions and 2 deletions

View File

@ -76,7 +76,7 @@
"c9.automate": "#47e2c429c9",
"c9.ide.ace.emmet": "#6dc4585e02",
"c9.ide.ace.gotoline": "#a8ff07c8f4",
"c9.ide.ace.keymaps": "#e8d5eedc37",
"c9.ide.ace.keymaps": "#334a65192f",
"c9.ide.ace.repl": "#4b88a85b7b",
"c9.ide.ace.split": "#0ae0151c78",
"c9.ide.ace.statusbar": "#3aab0b67e0",

View File

@ -21706,7 +21706,7 @@ apf.window = function(){
var amlNode = apf.window.activeElement, //apf.findHost(e.srcElement || e.target),
htmlNode = (e.explicitOriginalTarget || e.srcElement || e.target),
isTextInput = (ta[htmlNode.tagName]
|| htmlNode.contentEditable || htmlNode.contentEditable == "true") //@todo apf3.0 need to loop here?
|| htmlNode.contentEditable == "true" || htmlNode.contentEditable == "plaintext-only")
&& !htmlNode.disabled
|| amlNode && amlNode.$isTextInput
&& amlNode.$isTextInput(e) && amlNode.disabled < 1;