projects
/
roojs1
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
try and get ctrl-enter to add a clear all
[roojs1]
/
Roo
/
Editor.js
diff --git
a/Roo/Editor.js
b/Roo/Editor.js
index
3ac6b56
..
0b1b139
100644
(file)
--- 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;
}
//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;
}
if(e.getKey() == e.ENTER){
return;
}