aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bzpage.js
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2010-09-14 22:47:47 +0200
committerMatěj Cepl <mcepl@redhat.com>2010-09-14 22:47:47 +0200
commita2b9bc18e3a11ddc5b0c5dc1fff6edc57b9285b5 (patch)
tree437e02783b11244f712b69695f09b891ab70b85e /lib/bzpage.js
parent175cdd6039700ee656d220d35854c6277f4a1203 (diff)
downloadbugzilla-triage-a2b9bc18e3a11ddc5b0c5dc1fff6edc57b9285b5.tar.gz
Clarify the situation with getBugNo.
* get rid off getBugId ... it was never used and silly * improve javadoc of getBugNo and explain why it is in util.js, although it would more belong to bzpage.js (hint: there are no unit tests for bzpage.js) * add a test showing that aliases are not convereted to proper numerical bug numbers
Diffstat (limited to 'lib/bzpage.js')
-rw-r--r--lib/bzpage.js9
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/bzpage.js b/lib/bzpage.js
index 608e21e..635ec7d 100644
--- a/lib/bzpage.js
+++ b/lib/bzpage.js
@@ -142,15 +142,6 @@ var BZPage = function BZPage(win, config) {
};
/**
- * Get the ID of the bug.
- *
- * @return string
- */
-BZPage.prototype.getBugId = function getBugId () {
- return util.getBugNo(this.doc.location.href);
-};
-
-/**
* In case URL contains alias, not the real bug number, get the real bug no
* from the XML representation. Sets correct value to this.bugNo.
*/