diff options
author | Matěj Cepl <mcepl@redhat.com> | 2011-04-29 01:22:18 +0200 |
---|---|---|
committer | Matěj Cepl <mcepl@redhat.com> | 2011-04-29 01:32:27 +0200 |
commit | e3989a9404d19fb5164b39f7f6c78e64cc85b137 (patch) | |
tree | b2ceedb4a43b2e85a4d083933a6ca5678b32236f /data/lib/util.js | |
parent | af9a8239914fb783ddd41a9dc571bd5fb2126050 (diff) | |
download | bugzilla-triage-e3989a9404d19fb5164b39f7f6c78e64cc85b137.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.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/data/lib/util.js b/data/lib/util.js index 77e7bfa..abf8824 100644 --- a/data/lib/util.js +++ b/data/lib/util.js @@ -68,8 +68,8 @@ function parseXMLfromString (inStuff) { * Get a bug no */ function getBugNo() { - console.log("bugNo = " + document.forms.namedItem('changeform').getElementsByName("id")[0].value); - return document.forms.namedItem('changeform').getElementsByName("id")[0].value; + console.log("bugNo = " + document.getElementsByName("id")[0].value); + return document.getElementsByName("id")[0].value; } /** |