aboutsummaryrefslogtreecommitdiffstats
path: root/data/lib
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2011-03-02 19:40:28 +0100
committerMatěj Cepl <mcepl@redhat.com>2011-03-02 19:40:28 +0100
commitd24b3a694ba086c5e1ebae49dff99cf0a59b59f8 (patch)
treefd64f011e096828f1ebb83cba2e4a6d34c20312b /data/lib
parentea71f2b3c7d6b7e8a2a63669aa818d79ad85ffa0 (diff)
downloadbugzilla-triage-d24b3a694ba086c5e1ebae49dff99cf0a59b59f8.tar.gz
Remove unnecessary logging.
Diffstat (limited to 'data/lib')
-rw-r--r--data/lib/logging-front.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/data/lib/logging-front.js b/data/lib/logging-front.js
index 4b0a3f9..b3a175d 100644
--- a/data/lib/logging-front.js
+++ b/data/lib/logging-front.js
@@ -14,7 +14,7 @@ function addLogRecord() {
rec.title = document.title;
var comment = window.prompt(
"Enter comments for this comment");
- if (comment) {
+ if (comment !== null) {
comment = comment.trim();
if (comment.length > 0) {
comment = comment.trim();
@@ -25,10 +25,7 @@ function addLogRecord() {
rec.key = dateStr + "+" +
urlStr + "+" + bugNo;
postMessage(new Message("AddLogRecord", rec));
- } else {
- console.log("Empty string!");
}
- console.log("addLogRecord : rec = " + rec.toSource());
return rec;
}
return null;