projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b0caa4
)
Roo/form/HtmlEditor.js
author
Edward
<edward@roojs.com>
Mon, 8 Jun 2015 08:53:29 +0000
(16:53 +0800)
committer
Edward
<edward@roojs.com>
Mon, 8 Jun 2015 08:53:29 +0000
(16:53 +0800)
Roo/form/HtmlEditor.js
patch
|
blob
|
history
diff --git
a/Roo/form/HtmlEditor.js
b/Roo/form/HtmlEditor.js
index
69197db
..
37ce908
100644
(file)
--- a/
Roo/form/HtmlEditor.js
+++ b/
Roo/form/HtmlEditor.js
@@
-260,16
+260,13
@@
Roo.extend(Roo.form.HtmlEditor, Roo.form.Field, {
this.keyNav = new Roo.KeyNav(this.el, {
"tab" : function(e){
-
e.preventDefault();
- Roo.log('TAB');
var value = this.getValue();
var start = this.el.dom.selectionStart;
var end = this.el.dom.selectionEnd;
- Roo.log(start);
- Roo.log(end);
+
if(!e.shiftKey){
this.setValue(value.substring(0, start) + "\t" + value.substring(end));