[PALEMOON] Update handle-xul-text-link to deal with json source data

This commit is contained in:
NTD 2018-04-12 16:18:04 -04:00 committed by Roy Tam
commit 430c6c62ac

View file

@ -254,7 +254,8 @@ BrowserGlue.prototype = {
if (!linkHandled.data) {
let win = this.getMostRecentBrowserWindow();
if (win) {
win.openUILinkIn(data, "tab");
data = JSON.parse(data);
win.openUILinkIn(data.href, "tab");
linkHandled.data = true;
}
}