diff options
author | Matěj Cepl <mcepl@redhat.com> | 2011-04-24 23:43:49 +0200 |
---|---|---|
committer | Matěj Cepl <mcepl@redhat.com> | 2011-04-25 21:37:57 +0200 |
commit | f5bd0d092b9fc8d8bf770b4595dd788e8214c13d (patch) | |
tree | 6b22d026032d921b0d5b9e73b95dec9381857345 /data/lib/bugzillaDOMFunctions.js | |
parent | 3fba7044de4b09e12077a6ef3dbb5d0fad9580e5 (diff) | |
download | bugzilla-triage-f5bd0d092b9fc8d8bf770b4595dd788e8214c13d.tar.gz |
Don't allow marking bug as triaged when it doesn't have severity set.
Diffstat (limited to 'data/lib/bugzillaDOMFunctions.js')
-rw-r--r-- | data/lib/bugzillaDOMFunctions.js | 9 |
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 |