aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2010-06-07 19:06:05 +0200
committerMatěj Cepl <mcepl@redhat.com>2010-06-07 19:06:05 +0200
commit3102cb94e097e20a6592527feaaf1fa039274f42 (patch)
tree46ff394a50313ba91e5a233789c5ce8e4146be3a
parent67bdce8805063717bfdbc449e5d8974f32f288a2 (diff)
downloadbugzilla-triage-3102cb94e097e20a6592527feaaf1fa039274f42.tar.gz
Fix creation of non-existent logstore
-rw-r--r--lib/bzpage.js4
-rw-r--r--lib/rhbzpage.js2
2 files changed, 4 insertions, 2 deletions
diff --git a/lib/bzpage.js b/lib/bzpage.js
index 8f11eb5..b02d03c 100644
--- a/lib/bzpage.js
+++ b/lib/bzpage.js
@@ -664,9 +664,9 @@ BZPage.prototype.setUpLogging = function() {
console.log("this.store wiped out!");
}, false);
- if (!this.store) {
+ if (!this.log.store) {
console.log("No this.store defined!");
- this.store = {};
+ this.log.store = {};
}
if (this.log.store.length > 0) {
diff --git a/lib/rhbzpage.js b/lib/rhbzpage.js
index c9d9b9f..4c3d93f 100644
--- a/lib/rhbzpage.js
+++ b/lib/rhbzpage.js
@@ -603,7 +603,9 @@ RHBugzillaPage.prototype.queryForSelection = function() {
* Search simple query in the upstream bugzilla appropriate for the component.
*/
RHBugzillaPage.prototype.queryUpstream = function() {
+ console.log("Querying upstream!");
let text = jetpack.selection.text;
+ console.log("Selection = |" + text + "|");
if (!text) {
text = clip.get();
}