aboutsummaryrefslogtreecommitdiffstats
path: root/data/lib/bugzillaDOMFunctions.js
diff options
context:
space:
mode:
Diffstat (limited to 'data/lib/bugzillaDOMFunctions.js')
-rw-r--r--data/lib/bugzillaDOMFunctions.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/data/lib/bugzillaDOMFunctions.js b/data/lib/bugzillaDOMFunctions.js
index 0f22020..8392b87 100644
--- a/data/lib/bugzillaDOMFunctions.js
+++ b/data/lib/bugzillaDOMFunctions.js
@@ -203,6 +203,15 @@ function getSummary() {
}
/**
+ * Get the current title of the bug
+ *
+ * @return string
+ */
+function getSeverity() {
+ return document.getElementById("bug_severity").value;
+}
+
+/**
* Get the current email of the reporter of the bug.
*
* @return string