diff options
author | Madhura Jayaratne <madhura.cj@gmail.com> | 2014-12-02 14:37:46 +0300 |
---|---|---|
committer | Madhura Jayaratne <madhura.cj@gmail.com> | 2014-12-02 14:37:46 +0300 |
commit | 410d1c32df612e2ebd35bb3c604d2ee54a29c59c (patch) | |
tree | db668a8be2071870a2c284d214dd507361894ab1 /setup | |
parent | bd02f91a2a9cf189a3555deed813026116b4ae24 (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.js | 2 |
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(); }); |