Bug 808001 - clicking a social notification link now opens the link in a new tab. r=gavin

This commit is contained in:
Mark Hammond 2012-11-22 13:53:07 +11:00
parent e306e86469
commit 0b6955fbcb

View File

@ -112,7 +112,7 @@ WorkerAPI.prototype = {
nUri.scheme = pUri.scheme;
if (nUri.prePath == provider.origin) {
let xulWindow = Services.wm.getMostRecentWindow("navigator:browser");
xulWindow.openUILink(nUri.spec);
xulWindow.openUILinkIn(nUri.spec, "tab");
}
} catch(e) {
Cu.reportError("social.notification-create error: "+e);