projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06921d0
)
Roo/svg/Canvas.js
author
Alan Knowles
<alan@roojs.com>
Wed, 23 Jun 2021 05:57:07 +0000
(13:57 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 23 Jun 2021 05:57:07 +0000
(13:57 +0800)
Roo/svg/Canvas.js
patch
|
blob
|
history
diff --git
a/Roo/svg/Canvas.js
b/Roo/svg/Canvas.js
index
b7b4cf3
..
ea2d02a
100644
(file)
--- a/
Roo/svg/Canvas.js
+++ b/
Roo/svg/Canvas.js
@@
-55,6
+55,14
@@
Roo.extend(Roo.svg.Canvas, Roo.BoxComponent, {
},
-
+ onClick : function(e)
+ {
+ if(this.preventDefault){
+ e.preventDefault();
+ }
+
+ this.fireEvent('click', this, e); // why was this double click before?
+ },
+
});
\ No newline at end of file