aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2010-06-21 17:58:46 +0200
committerMatěj Cepl <mcepl@redhat.com>2010-06-21 17:58:46 +0200
commit7f2711d924220659fed80f547e52509d65154e7a (patch)
treefa892027f98dd6a7482486e0b0f63ff68c1ad0a7 /lib
parentb5da15622a8ee84cac5c8489c72610bd24b09c29 (diff)
parent8e63763a77a0dd81791cb2c68fdd905b3e518bba (diff)
downloadbugzilla-triage-7f2711d924220659fed80f547e52509d65154e7a.tar.gz
Fix broken merge.
Diffstat (limited to 'lib')
-rw-r--r--lib/bzpage.js9
1 files changed, 3 insertions, 6 deletions
diff --git a/lib/bzpage.js b/lib/bzpage.js
index 616e78d..4906d13 100644
--- a/lib/bzpage.js
+++ b/lib/bzpage.js
@@ -50,8 +50,7 @@ var BZPage = function BZPage(doc, config) {
if ("submitsLogging" in config.gJSONData.configData &&
config.gJSONData.configData.submitsLogging) {
this.log = config.logger;
- console.log("length of this.log.store = " +
- this.log.getLength());
+ console.log("length of this.log.store = " + this.log.getLength());
this.setUpLogging();
}
@@ -70,7 +69,6 @@ var BZPage = function BZPage(doc, config) {
var commentArea = this.doc.getElementById("comment_status_commit");
if (commentArea) {
var brElementPlacer = commentArea.getElementsByTagName("br");
- console.log("brElementPlacer.length = " + brElementPlacer.length);
brElementPlacer = brElementPlacer[0];
if (brElementPlacer) {
brElementPlacer.setAttribute("id","brElementPlacer_location");
@@ -317,7 +315,7 @@ BZPage.prototype.createNewButton = function createNewButton (location, after, pk
// protection against double-firings
if (this.doc.getElementById(newId)) {
- console.error("Element with id " + newId + "already exists!");
+ console.log("Element with id " + newId + "already exists!");
return ;
}
@@ -551,7 +549,7 @@ BZPage.prototype.getOptionValue = function getOptionValue (id) {
if (element) {
return element.value;
} else {
- console.log("Failed to find element with id = " + id);
+ console.error("Failed to find element with id = " + id);
return "#NA";
}
};
@@ -663,7 +661,6 @@ BZPage.prototype.setUpLogging = function setUpLogging () {
console.log("Submit callback!");
var resp = that.log.addLogRecord(that);
- console.log("resp = " + resp);
if (resp === null) {
console.log("Avoiding submitting!");
// FIXME doesn't work ... still submitting'