[Pkg-mozext-commits] [wot] 78/226: Another fix for issues of Nightly FF
David Prévot
taffit at moszumanska.debian.org
Fri May 1 00:35:36 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository wot.
commit 175b052d895c34cbd2579203bb4806550952a1ce
Author: Sergey Andryukhin <sorgoz at yandex.com>
Date: Tue Apr 2 14:26:41 2013 +0300
Another fix for issues of Nightly FF
---
content/injections/surveys.widgets.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/content/injections/surveys.widgets.js b/content/injections/surveys.widgets.js
index 395cca3..8552c7f 100644
--- a/content/injections/surveys.widgets.js
+++ b/content/injections/surveys.widgets.js
@@ -42,7 +42,7 @@ var surveys = {
var res = null;
try {
if(!encoded) return null;
- var decoded = atob(encoded);
+ var decoded = window.atob(encoded);
if(!decoded) return null;
res = JSON.parse(decoded);
@@ -382,7 +382,7 @@ var surveys = {
init: function () {
var _this = surveys;
var data = _this.extract_data(window.name); // we use name property to transfer data from addon's background
- if (data) {
+ if (data) {
_this.decodedtarget = data.decodedtarget || "";
_this.target = data.target || "";
_this.question = data.question ? data.question : {};
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/wot.git
More information about the Pkg-mozext-commits
mailing list