Bug#685815: Acknowledgement (wiki.debian.org: Disable double click handling in Web-browser.)
I inspect code and found this JavaScript function:
// This is the function that registers double clicks.
// isPreview is true if the current page is an edit draft preview
function setCallback(node, line, isPreview) {
...
node.addEventListener('dblclick',doActionEdit,false);
...
node.attachEvent('ondblclick',doActionEdit);
// walk part of DOM and add doubleclick function to all nodes with tagNames
function walkDom (someNode, lineNbr, isPreview, nextId, topId) {
in:
http://wiki.debian.org/htdocs/common/js/common.js
I am not experienced in JS or MoinMoin to say how disable harm from double
clicks. May be just comment all 'walkDom' calls...
--
Best regards!
Reply to: