aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bzpage.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bzpage.js')
-rw-r--r--lib/bzpage.js9
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/bzpage.js b/lib/bzpage.js
index c4c88f3..bad7b5e 100644
--- a/lib/bzpage.js
+++ b/lib/bzpage.js
@@ -3,6 +3,7 @@
// Released under the MIT/X11 license
// http://www.opensource.org/licenses/mit-license.php
"use strict";
+var utilMod = require("util");
var TriagedDistro = 13;
var NumberOfFrames = 7;
@@ -55,7 +56,7 @@ exports.BZPage = function BZPage(doc) {
}
this.submitHandlerInstalled = false;
- this.bugNo = hlpr.getBugNo(this.doc.location.toString());
+ this.bugNo = utilMod.getBugNo(this.doc.location.toString());
this.reporter = this.getReporter();
this.product = this.getOptionValue("product");
this.component = this.getOptionValue("component");
@@ -486,7 +487,7 @@ BZPage.prototype.addStuffToTextBox = function(id, stuff) {
stuff = textBox.value ? "\n\n" + stuff : stuff;
textBox.value += stuff;
} else {
- textBox.value = hlpr.addCSVValue(textBox.value,stuff);
+ textBox.value = utilMod.addCSVValue(textBox.value,stuff);
}
};
@@ -498,7 +499,7 @@ BZPage.prototype.addStuffToTextBox = function(id, stuff) {
*/
BZPage.prototype.removeStuffFromTextBox = function(id, stuff) {
let changedElement = this.getElementById(id);
- changedElement.value = hlpr.removeCSVValue(changedElement.value,stuff);
+ changedElement.value = utilMod.removeCSVValue(changedElement.value,stuff);
}
/**
@@ -723,7 +724,7 @@ BZPage.prototype.addToCCList = function(who) {
this.doc.getElementById("addselfcc").checked = true;
} else {
this.clickMouse("cc_edit_area_showhide");
- if (!hlpr.isInList(who, this.CCList)) {
+ if (!utilMod.isInList(who, this.CCList)) {
this.addStuffToTextBox("newcc",who);
}
}