aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bzpage.js
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2010-07-27 15:04:15 +0200
committerMatěj Cepl <mcepl@redhat.com>2010-07-27 21:36:26 +0200
commit19dd65e5d2012834c2f4ebd808f2154ba01dea93 (patch)
tree29c2da514c3419dea0835a8d53dbee84d0ed8f28 /lib/bzpage.js
parentd4465bb1acd333923c5224d34e0e2d627cf5b0dd (diff)
downloadbugzilla-triage-19dd65e5d2012834c2f4ebd808f2154ba01dea93.tar.gz
That would be actually nice to actually return the email from
this.parseMailto when we actually collected it.
Diffstat (limited to 'lib/bzpage.js')
-rw-r--r--lib/bzpage.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bzpage.js b/lib/bzpage.js
index e8f11aa..7b8a437 100644
--- a/lib/bzpage.js
+++ b/lib/bzpage.js
@@ -492,7 +492,7 @@ BZPage.prototype.setConfigurationButton = function setConfigurationButton () {
*/
BZPage.prototype.parseMailto = function parseMailto(aElement) {
if (aElement) {
- var email = decodeURI(aElement.getAttribute("href")).
+ return decodeURI(aElement.getAttribute("href")).
split(":")[1];
}
return null;