diff options
Diffstat (limited to 'data/util.js')
-rw-r--r-- | data/util.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/data/util.js b/data/util.js index 6c5e7b0..8232e9f 100644 --- a/data/util.js +++ b/data/util.js @@ -64,6 +64,7 @@ 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; } @@ -73,7 +74,9 @@ function getBugNo() { * @return String with the bug ID */ function getBugNoFromURL(url) { + console.log("getBugNoFromURL : url = " + url); var params = parseURL(url).params; + console.log("getBugNoFromURL : params = " + params.toSource()); if (params && params.id) { return params.id; } |