aboutsummaryrefslogtreecommitdiffstats
path: root/data/lib/util.js
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2011-04-29 01:22:18 +0200
committerMatěj Cepl <mcepl@redhat.com>2011-06-05 14:51:40 +0200
commit272ab432ddc4562237c7235f8e0ab8a11bad3d3d (patch)
treefbaddbe065bb8c4a60e820894c95c2ab7d8e1a2b /data/lib/util.js
parent7b6eefcd506ec03e1db422ca6e1f4f1bb8420d1c (diff)
downloadbugzilla-triage-272ab432ddc4562237c7235f8e0ab8a11bad3d3d.tar.gz
All XML-RPC calls are rewritten as JSON-RPC ones.
* also MakeJSONRPCall is a functional call now * reorganization for dealing with the history.
Diffstat (limited to 'data/lib/util.js')
-rw-r--r--data/lib/util.js8
1 files changed, 2 insertions, 6 deletions
diff --git a/data/lib/util.js b/data/lib/util.js
index be674bc..064887c 100644
--- a/data/lib/util.js
+++ b/data/lib/util.js
@@ -68,12 +68,8 @@ function parseXMLfromString (inStuff) {
* Get a bug no
*/
function getBugNo() {
- var bugNoElem = document.forms.namedItem('changeform').getElementsByName("id")[0];
- if (bugNoElem) {
- return bugNoElem.value;
- } else {
- return null;
- }
+ console.log("bugNo = " + document.getElementsByName("id")[0].value);
+ return document.getElementsByName("id")[0].value;
}
/**