mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 12:25:53 +00:00
porting bug 60707 from the trunk (disable right double clicking), patch by kazhik@mozilla.gr.jp
This commit is contained in:
parent
03ce70cf0a
commit
b976cc7740
@ -398,6 +398,9 @@ function onCancel()
|
||||
}
|
||||
|
||||
function onDblClick(e) {
|
||||
// we only care about button 0 (left click) events
|
||||
if (e.button != 0) return;
|
||||
|
||||
var t = e.originalTarget;
|
||||
if (t.localName != "treechildren")
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user