Updating mozilla to DOM Level 2 events support. Fixes for bug 34722, 35378, 8411, 10330, plus some others that weren't filed.

git-svn-id: svn://10.0.0.236/trunk@70028 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
joki%netscape.com
2000-05-16 11:35:12 +00:00
parent 6aa7ce987a
commit ec91adc761
122 changed files with 1861 additions and 487 deletions

View File

@@ -198,7 +198,7 @@ function addPoint(event, pointX, pointY, start){
pointX = event.clientX;
pointY = event.clientY;
event.preventBubble();
if (event.clickCount == 2){
if (event.detail == 2){
polyFinish();
return;
}
@@ -636,7 +636,7 @@ function clickMouse(event){
startX = event.clientX;
startY = event.clientY;
if (currentTool == "poly"){
//dump(event.clickCount+"\n");
//dump(event.detail+"\n");
if (event.target != currentPoly){
//else if (event.target.getAttribute("class").indexOf("point") == -1)
Poly();