22 May
2013
22 May
'13
11:29 a.m.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9507 --- Comment #6 from Jonathan Druart <jonathan.druart@biblibre.com> --- (In reply to comment #5)
With Google, I came across this example for a cross-browser solution:
element.onclick = doSomething; function doSomething(e) { if (!e) var e = window.event; // e gives access to the event in all browsers }
Yep I think the code can be improved, but the goal of this patch is only to factorize the code. When this patch will be pushed, it will be easy to improve it: there will be only 1 place to change :) Don't you agree with me? -- You are receiving this mail because: You are watching all bug changes.