diff options
Diffstat (limited to 'settings/js/certificates.js')
-rw-r--r-- | settings/js/certificates.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/settings/js/certificates.js b/settings/js/certificates.js index f2a8e6b0afb..7e62a4f5157 100644 --- a/settings/js/certificates.js +++ b/settings/js/certificates.js @@ -24,10 +24,10 @@ $(document).ready(function () { }, success: function (data) { if (typeof data === 'string') { - data = $.parseJSON(data); + data = JSON.parse(data); } else if (data && data.length) { // fetch response from iframe - data = $.parseJSON(data[0].body.innerText); + data = JSON.parse(data[0].body.innerText); } if (!data || typeof(data) === 'string') { // IE8 iframe workaround comes here instead of fail() |