summaryrefslogtreecommitdiffstats
path: root/application/palemoon/components
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2018-04-12 16:18:04 -0400
committerMatt A. Tobin <email@mattatobin.com>2018-04-12 16:18:04 -0400
commit62ca5cf04a400282f896e1213c850dbe7a437e3b (patch)
tree956da6344ab56809db9dabbad5b1646f6f70ea54 /application/palemoon/components
parent63800e14ac3ac20d66c827c9a30845f5f6146941 (diff)
downloadUXP-62ca5cf04a400282f896e1213c850dbe7a437e3b.tar
UXP-62ca5cf04a400282f896e1213c850dbe7a437e3b.tar.gz
UXP-62ca5cf04a400282f896e1213c850dbe7a437e3b.tar.lz
UXP-62ca5cf04a400282f896e1213c850dbe7a437e3b.tar.xz
UXP-62ca5cf04a400282f896e1213c850dbe7a437e3b.zip
[PALEMOON] Update handle-xul-text-link to deal with json source data
Diffstat (limited to 'application/palemoon/components')
-rw-r--r--application/palemoon/components/nsBrowserGlue.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/application/palemoon/components/nsBrowserGlue.js b/application/palemoon/components/nsBrowserGlue.js
index aafdced9f..cdb0b7522 100644
--- a/application/palemoon/components/nsBrowserGlue.js
+++ b/application/palemoon/components/nsBrowserGlue.js
@@ -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;
}
}