From a9297b778df18c2c3c8d00e83c1a92f3a53d28d6 Mon Sep 17 00:00:00 2001 From: rolux Date: Wed, 17 Dec 2014 17:14:09 +0000 Subject: [PATCH] no JSON.parse needed --- static/js/changelogDialog.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/static/js/changelogDialog.js b/static/js/changelogDialog.js index 8a494d76..cd5e49d6 100644 --- a/static/js/changelogDialog.js +++ b/static/js/changelogDialog.js @@ -158,9 +158,7 @@ pandora.ui.changelogDialog = function() { $('
')
                                     .addClass('OxSelectable')
                                     .css({margin: '16px'})
-                                    .text(
-                                        JSON.stringify(JSON.parse(value.data), null, '    ')
-                                    )
+                                    .text(JSON.stringify(value.data, null, '    '))
                             ),
                             height: height - 48,
                             keys: {enter: 'close', escape: 'close'},