aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2010-01-04 21:20:37 +0100
committerMatěj Cepl <mcepl@redhat.com>2010-01-04 21:20:37 +0100
commitfdaaac9d0914dabdd9a0a8a430d7bafefe35172c (patch)
treebfae991edd5476a9af295d660e522103a9fdaf37
parent2fd9a78fae9079c8438a98df842e3a014c5191ef (diff)
downloadbugzilla-triage-fdaaac9d0914dabdd9a0a8a430d7bafefe35172c.tar.gz
Finally understood the last parameter of addEventListener.
-rw-r--r--bugzillaBugTriage.js10
1 files changed, 5 insertions, 5 deletions
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 = "<b>F</b>ix all";
elem.addEventListener("click", function() {
that.fixAllAttachments(list);
- },true);
+ },false);
return elem;
};
@@ -1227,7 +1227,7 @@ BzPage.prototype.addTextLink = function (row) {
elem.innerHTML = "<br/><a href=''>Text</a>";
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",