aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/020d417e-bb74-4a80-a7b5-9f858bb93994/values2
-rw-r--r--data/lib/logging-front.js5
2 files changed, 2 insertions, 5 deletions
diff --git a/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/020d417e-bb74-4a80-a7b5-9f858bb93994/values b/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/020d417e-bb74-4a80-a7b5-9f858bb93994/values
index aee706f..d81fa31 100644
--- a/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/020d417e-bb74-4a80-a7b5-9f858bb93994/values
+++ b/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/020d417e-bb74-4a80-a7b5-9f858bb93994/values
@@ -7,7 +7,7 @@ reporter: Matěj Cepl <mcepl@redhat.com>
severity: minor
-status: open
+status: closed
summary: Ability to skip over commenting by empty string
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;