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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user