Ignore keyboard events from input fields

This commit is contained in:
Thomas Bruederli 2014-07-03 13:43:32 +02:00
parent d3a2c586f0
commit b10dcd2b95

View file

@ -432,6 +432,9 @@ function rcube_tasklist_ui(settings)
}
})
.on('keydown', '.taskhead', function(e) {
if (e.target.nodeName == 'INPUT' && e.target.type == 'text')
return true;
var inc = 1;
switch (e.keyCode) {
case 13: // Enter