From fdaaac9d0914dabdd9a0a8a430d7bafefe35172c Mon Sep 17 00:00:00 2001 From: Matěj Cepl Date: Mon, 4 Jan 2010 21:20:37 +0100 Subject: Finally understood the last parameter of addEventListener. --- bugzillaBugTriage.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'bugzillaBugTriage.js') diff --git a/bugzillaBugTriage.js b/bugzillaBugTriage.js index e36fc09..aa9456a 100644 --- a/bugzillaBugTriage.js +++ b/bugzillaBugTriage.js @@ -776,7 +776,7 @@ BzPage.prototype.addNewButton = function (originalLocation,newId,newLabel, newButton.value = newLabel; newButton.addEventListener("click",function (evt) { that.generalPurposeCureForAllDisease(commStr,nState, secPar); - },true); + },false); if (after) { originalLocation.parentNode.insertBefore(newButton, @@ -1209,7 +1209,7 @@ BzPage.prototype.createFixAllButton = function (list) { elem.innerHTML = "Fix all"; elem.addEventListener("click", function() { that.fixAllAttachments(list); - },true); + },false); return elem; }; @@ -1227,7 +1227,7 @@ BzPage.prototype.addTextLink = function (row) { elem.innerHTML = "
Text"; elem.addEventListener("click",function (x) { that.fixAttachById(row[1],"text/plain"); - }, true); + }, false); }; /** @@ -1623,7 +1623,7 @@ function BzPage(doc) { function () { that.addTextToTextBox("comment", signatureFedoraString); } - ,true); + ,false); } this.setBranding(); @@ -1646,7 +1646,7 @@ function BzPage(doc) { jetpack.storage.simple.sync(); jetpack.tabs.focused.contentWindow.location.reload(); } - },true); + },false); // set default assignee on change of the component this.dok.getElementById("component").addEventListener("change", -- cgit