diff options
author | Matěj Cepl <mcepl@redhat.com> | 2010-07-15 22:05:13 +0200 |
---|---|---|
committer | Matěj Cepl <mcepl@redhat.com> | 2010-07-15 22:05:13 +0200 |
commit | ba252f0d000152ca5554f17206c1515b847cee59 (patch) | |
tree | 28a9c2c29f46f8447a58aefb6c2fec90461603fd /lib | |
parent | 8cf286c4986d29f6b73583ff6b43444f1ef39207 (diff) | |
download | bugzilla-triage-ba252f0d000152ca5554f17206c1515b847cee59.tar.gz |
BSTPrefNS replace by BTSPrefNS
Diffstat (limited to 'lib')
-rw-r--r-- | lib/bzpage.js | 8 | ||||
-rw-r--r-- | lib/main.js | 4 |
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)) { |