Bug 330710, Replace obsolete preventBubble/preventCapture with stopPropagation, r=neil, r=mconnor, sr=jst

git-svn-id: svn://10.0.0.236/trunk@192998 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
Olli.Pettay%helsinki.fi
2006-03-25 22:03:49 +00:00
parent 2a0d15e8b9
commit ed6f59a4d7
65 changed files with 207 additions and 306 deletions

View File

@@ -212,7 +212,7 @@ function addPoint(event, pointX, pointY, start){
dump('addPoint Called with event\n');
pointX = event.clientX+window.frames[0].pageXOffset;
pointY = event.clientY+window.frames[0].pageYOffset;
event.preventBubble();
event.stopPropagation();
if (event.detail == 2){
polyFinish();
return;
@@ -281,7 +281,7 @@ function polyFinish(event, construct){
else
deleteElement(currentPoly);
if (event)
event.preventBubble();
event.stopPropagation();
currentPoly = null;
}