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
diff options
context:
space:
mode:
authorMadhura Jayaratne <madhura.cj@gmail.com>2014-12-02 15:37:58 +0300
committerMadhura Jayaratne <madhura.cj@gmail.com>2014-12-02 15:37:58 +0300
commitd03c3adff44ab11818023d3f6ba1419b8fcd11b6 (patch)
treeeb0f530f9b5d962c8fa8cfba7902f7208bed184f /js/server_variables.js
parent410d1c32df612e2ebd35bb3c604d2ee54a29c59c (diff)
More instances of .live() and .die() replaced with .on() and .off()
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
Diffstat (limited to 'js/server_variables.js')
-rw-r--r--js/server_variables.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/server_variables.js b/js/server_variables.js
index 92fb8690e1..34a3f42c9e 100644
--- a/js/server_variables.js
+++ b/js/server_variables.js
@@ -32,7 +32,7 @@ AJAX.registerOnload('server_variables.js', function () {
);
/* Launches the variable editor */
- $editLink.live('click', function (event) {
+ $(document).on('click', 'a.editLink', function (event) {
event.preventDefault();
editVariable(this);
});