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:
authorMadhura Jayaratne <madhura.cj@gmail.com>2014-12-02 14:37:46 +0300
committerMadhura Jayaratne <madhura.cj@gmail.com>2014-12-02 14:37:46 +0300
commit410d1c32df612e2ebd35bb3c604d2ee54a29c59c (patch)
treedb668a8be2071870a2c284d214dd507361894ab1 /setup
parentbd02f91a2a9cf189a3555deed813026116b4ae24 (diff)
.live() and .die() methods are deprecated. Use .on() and .off() methods instead
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
Diffstat (limited to 'setup')
-rw-r--r--setup/scripts.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup/scripts.js b/setup/scripts.js
index ce3e1c0575..192f0e58df 100644
--- a/setup/scripts.js
+++ b/setup/scripts.js
@@ -115,7 +115,7 @@ function ajaxValidate(parent, id, values)
/**
* Automatic form submission on change.
*/
-$('.autosubmit').live('change', function (e) {
+$(document).on('change', '.autosubmit', function (e) {
e.target.form.submit();
});