From bfed1cfa455de0f8e65bf5e0609ab1f75df61de0 Mon Sep 17 00:00:00 2001 From: benweet Date: Sun, 26 Oct 2014 17:28:51 +0000 Subject: [PATCH] Fixed CouchDB import error --- public/res/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/res/utils.js b/public/res/utils.js index 9c41d2b2..1833abf4 100644 --- a/public/res/utils.js +++ b/public/res/utils.js @@ -727,7 +727,7 @@ define([ }; utils.decodeBase64 = function(str) { - return window.unescape(decodeURIComponent(window.atob(str))); + return decodeURIComponent(window.escape(window.atob(str))); }; // CRC32 algorithm