aboutsummaryrefslogtreecommitdiffstats
path: root/data/rhlib
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2013-12-12 22:35:58 +0100
committerMatěj Cepl <mcepl@redhat.com>2013-12-12 22:40:32 +0100
commitbb4766110c286efafe9efa6b9658ea7065832062 (patch)
treeb52cc4d602e5f41b542c611d3a1165a6ca4cc3fd /data/rhlib
parent4d7f05488f1bcd37ef128b5464975d58a98a9d79 (diff)
downloadbugzilla-triage-bb4766110c286efafe9efa6b9658ea7065832062.tar.gz
Fix sending bugs upstream, adding external bug, and no munching on <title>1.9
Specifically: * add Evolution to data/newUpstreamBug.json * fix new (and a way better!) ID of the inputBox for the adding external bug ID * remove misjudged attempt to remove Bug from //head/title
Diffstat (limited to 'data/rhlib')
-rw-r--r--data/rhlib/rhbzpage.js8
1 files changed, 5 insertions, 3 deletions
diff --git a/data/rhlib/rhbzpage.js b/data/rhlib/rhbzpage.js
index fc46d23..c1bca62 100644
--- a/data/rhlib/rhbzpage.js
+++ b/data/rhlib/rhbzpage.js
@@ -168,8 +168,11 @@ function sendBugUpstream(thgs) {
return;
}
if (localThings) {
+ myDebug('sendBugUpstream: creating new bug for component ' +
+ getComponent());
var admitMsg = "(originally filed as " + window.location.href + ")\n\n";
var urlStr = filterByRegexp(constantData.newUpstreamBug, getComponent());
+ myDebug('sendBugUpstream: urlStr = ' + urlStr);
if (!urlStr) {
return null;
}
@@ -337,7 +340,7 @@ function analyzeXorgLog(attachID, backMsg) {
*/
function addExternalBug() {
// that's a bad id, if there is a one. :)
- var inputBox = document.getElementById("inputbox");
+ var inputBox = document.getElementById("external_bug_id");
var externalBugID = 0;
var wholeURL = "";
@@ -438,8 +441,7 @@ function RHBZinit(things) {
// inheritance ... call superobject's constructor
var AbrtRE = new RegExp("^\\s*\\[abrt\\]");
var btSnippet = "";
- sendBugUpstream(things); // FIXME this is not a real call,
- // just initializing static variable
+ sendBugUpstream(things);
var chipMagicInterestingLine = "";