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:
authorRouslan Placella <rouslan@placella.com>2012-06-19 20:10:00 +0400
committerRouslan Placella <rouslan@placella.com>2012-10-31 00:07:01 +0400
commit5838a4433921f285c70706146343bb21f0430b4a (patch)
tree501f2bf50007cc9af4205b4d008ef07db4513a50 /js/tbl_relation.js
parent198c3a25c86d90cbe7d56b9d4744543b35761bfa (diff)
Use AJAX.registerOnload() instead of $(document).ready()
Diffstat (limited to 'js/tbl_relation.js')
-rw-r--r--js/tbl_relation.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/tbl_relation.js b/js/tbl_relation.js
index cce1a67fc0..634d249212 100644
--- a/js/tbl_relation.js
+++ b/js/tbl_relation.js
@@ -15,7 +15,7 @@ function show_hide_clauses($thisDropdown)
}
}
-$(function() {
+AJAX.registerOnload('tbl_relation.js', function() {
// initial display
$('select.referenced_column_dropdown').each(function(index, one_dropdown) {
show_hide_clauses($(one_dropdown));