projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a94031
)
Roo/form/HtmlEditor/ToolbarContext.js
author
Alan Knowles
<alan@akbkhome.com>
Wed, 28 Mar 2012 06:26:00 +0000
(14:26 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Wed, 28 Mar 2012 06:26:00 +0000
(14:26 +0800)
Roo/form/HtmlEditor/ToolbarContext.js
patch
|
blob
|
history
diff --git
a/Roo/form/HtmlEditor/ToolbarContext.js
b/Roo/form/HtmlEditor/ToolbarContext.js
index
bd31a7c
..
d329b33
100644
(file)
--- a/
Roo/form/HtmlEditor/ToolbarContext.js
+++ b/
Roo/form/HtmlEditor/ToolbarContext.js
@@
-283,7
+283,7
@@
Roo.apply(Roo.form.HtmlEditor.ToolbarContext.prototype, {
// http://developer.yahoo.com/yui/docs/simple-editor.js.html
// selectNode - might want to handle IE?
- if (ev
.type
&&
+ if (ev &&
(ev.type == 'mouseup' || ev.type == 'click' ) &&
ev.target && ev.target.tagName == 'IMG') {
// they have click on an image...