aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2010-04-12 12:50:22 +0200
committerMatěj Cepl <mcepl@redhat.com>2010-04-12 12:50:22 +0200
commitbca03de52865012c54b7e7bdd55970507dd7f5f0 (patch)
tree5ceea027d00ccab2cbd00d1722185972be1efdbb
parent4e2865ca5fef78a422db188c8b515b1d298ae87a (diff)
downloadbugzilla-triage-bca03de52865012c54b7e7bdd55970507dd7f5f0.tar.gz
Enable notifications, when they are now available.
-rw-r--r--skip-process-bug.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/skip-process-bug.js b/skip-process-bug.js
index 6120ede..9123b6f 100644
--- a/skip-process-bug.js
+++ b/skip-process-bug.js
@@ -1,4 +1,4 @@
-jetpack.future.import("pageMods");
+jetpack.future.import("pageMods");
var callback = function(document){
var stemURL = "https://HOSTNAME/show_bug.cgi?id=";
@@ -12,7 +12,7 @@ var callback = function(document){
// jetpack.notifications.show('Bug ' + bugNo);
var emailsSent = $("#bugzilla-body > dl:first",document).text();
emailsSent = emailsSent.replace(/^(\s*)$/mg,"");
- //console.log(emailsSent); // to be sent to jetpack.notifications.show when available
+ jetpack.notifications.show(emailsSent); // to be sent to jetpack.notifications.show when available
document.location = stemURL.replace("HOSTNAME",hostname) + bugNo;
}
};