Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/setup
diff options
context:
space:
mode:
authorMichal Čihař <michal@cihar.com>2014-03-19 15:30:01 +0400
committerMichal Čihař <michal@cihar.com>2014-03-19 15:33:46 +0400
commit5284882d3dd9f3214fe8c62ef7acd82c3b493c33 (patch)
treec31cee68b804eab4e38d1906797df81e437fd35c /setup
parent0d8f510c22a9d2fff4cef85c8b39615e4df91380 (diff)
Use native browser support for JSON
It's there in anything recent (only not supported in IE 6 and 7 which we don't support anyway). Signed-off-by: Michal Čihař <michal@cihar.com>
Diffstat (limited to 'setup')
-rw-r--r--setup/scripts.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/setup/scripts.js b/setup/scripts.js
index a5a19d827d..2aefdf03f6 100644
--- a/setup/scripts.js
+++ b/setup/scripts.js
@@ -46,7 +46,7 @@ $(document).ready(function(){
$('body').css('min-width', width);
$('.tabs_contents').css('min-width', contentWidth);
});
-
+
//
// END: Messages
// ------------------------------------------------------------------
@@ -84,7 +84,7 @@ function ajaxValidate(parent, id, values)
data: {
token: parent.closest('form').find('input[name=token]').val(),
id: id,
- values: $.toJSON(values)
+ values: JSON.stringify(values)
},
success: function (response) {
if (response === null) {