aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/bzpage.js8
-rw-r--r--lib/main.js4
2 files changed, 6 insertions, 6 deletions
diff --git a/lib/bzpage.js b/lib/bzpage.js
index d9d679d..3ac61d6 100644
--- a/lib/bzpage.js
+++ b/lib/bzpage.js
@@ -11,8 +11,8 @@ var Color = require("color").Color;
var TriagedDistro = 13;
var NumberOfFrames = 7;
var bugURL = "https://bugzilla.redhat.com/show_bug.cgi?id=";
-var BSTPrefNS = "bugzilla-triage.setting.";
-exports.BSTPrefNS = BSTPrefNS;
+var BTSPrefNS = "bugzilla-triage.setting.";
+exports.BTSPrefNS = BTSPrefNS;
// ====================================================================================
// BZPage's methods
@@ -66,7 +66,7 @@ var BZPage = function BZPage(win, config) {
this.doc.getElementById("configurationButton").addEventListener(
"click",
function(evt) {
- var prfNm = BSTPrefNS+"JSONURL";
+ var prfNm = BTSPrefNS+"JSONURL";
var url = preferences.get(prfNm,"");
var reply = that.win.prompt("New location of JSON configuration file",url);
@@ -680,7 +680,7 @@ BZPage.prototype.getAttachments = function getAttachments () {
* @return String with the password
*/
BZPage.prototype.getPassword = function getPassword () {
- var prefName = BSTPrefNS+"BZpassword";
+ var prefName = BTSPrefNS+"BZpassword";
if (preferences.isSet(prefName)) {
return preferences.get(prefName,undefined);
} else {
diff --git a/lib/main.js b/lib/main.js
index e14f947..937f237 100644
--- a/lib/main.js
+++ b/lib/main.js
@@ -19,7 +19,7 @@ var urlMod = require("url");
var selfMod = require("self");
var Request = require("request").Request;
var preferences = require("preferences-service");
-var BSTPrefNS = require("bzpage").BSTPrefNS;
+var BTSPrefNS = require("bzpage").BTSPrefNS;
// Use my JSON for now before it is fixed for general public
var JSONURLDefault = "https://fedorahosted.org/released"+
"/bugzilla-triage-scripts/Config_data.json";
@@ -86,7 +86,7 @@ function skipThisPage(doc) {
}
function initialize(callback) {
- var prefName = BSTPrefNS+"JSONURL";
+ var prefName = BTSPrefNS+"JSONURL";
var urlStr = "";
if (preferences.isSet(prefName)) {