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/indexes.js
parent198c3a25c86d90cbe7d56b9d4744543b35761bfa (diff)
Use AJAX.registerOnload() instead of $(document).ready()
Diffstat (limited to 'js/indexes.js')
-rw-r--r--js/indexes.js11
1 files changed, 1 insertions, 10 deletions
diff --git a/js/indexes.js b/js/indexes.js
index 066fbda9ed..b130820d45 100644
--- a/js/indexes.js
+++ b/js/indexes.js
@@ -76,10 +76,6 @@ function checkIndexType()
}
}
-/**#@+
- * @namespace jQuery
- */
-
/**
* @description <p>Ajax scripts for table index page</p>
*
@@ -87,11 +83,8 @@ function checkIndexType()
* <ul>
* <li>Showing/hiding inputs depending on the index type chosen</li>
* </ul>
- *
- * @name document.ready
- * @memberOf jQuery
*/
-$(function() {
+AJAX.registerOnload('indexes.js', function() {
checkIndexType();
checkIndexName("index_frm");
$('#select_index_type').live('change', function(event){
@@ -100,5 +93,3 @@ $(function() {
checkIndexName("index_frm");
});
});
-
-/**#@- */