X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=Roo%2FEditor.js;h=0b1b139f4fde5e6bebc2f97a6b2a299c845c82a5;hb=0b69a11b1055a6d3a3fd0719bdd58b5a235de0e4;hp=3ac6b562ed8aa4b78e53d8ebaba6656bb3936247;hpb=15e741ce063423130d8c28b9ad611776b5889793;p=roojs1 diff --git a/Roo/Editor.js b/Roo/Editor.js index 3ac6b562ed..0b1b139f4f 100644 --- a/Roo/Editor.js +++ b/Roo/Editor.js @@ -151,13 +151,15 @@ Roo.extend(Roo.Editor, Roo.Component, { } }, - onSpecialKey : function(field, e){ + onSpecialKey : function(field, e) + { //Roo.log('editor onSpecialKey'); if(this.completeOnEnter && e.getKey() == e.ENTER){ e.stopEvent(); this.completeEdit(); return; } + // do not fire special key otherwise it might hide close the editor... if(e.getKey() == e.ENTER){ return; }