projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18d6a77
)
Roo/form/HtmlEditor/ToolbarContext.js
author
Alan Knowles
<alan@akbkhome.com>
Tue, 27 Mar 2012 03:26:06 +0000
(11:26 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Tue, 27 Mar 2012 03:26:06 +0000
(11: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
c9d8e09
..
7d73ec1
100644
(file)
--- a/
Roo/form/HtmlEditor/ToolbarContext.js
+++ b/
Roo/form/HtmlEditor/ToolbarContext.js
@@
-282,7
+282,7
@@
Roo.apply(Roo.form.HtmlEditor.ToolbarContext.prototype, {
}
- if (
ev.type == 'mouseup'
&& ev.target && ev.target.tagName == 'IMG') {
+ if (
(ev.type == 'mouseup' || ev.type == 'click' )
&& ev.target && ev.target.tagName == 'IMG') {
// they have click on an image...
// let's see if we can change the selection...
sel = ev.target;