diff options
author | Rouslan Placella <rouslan@placella.com> | 2012-06-19 20:10:00 +0400 |
---|---|---|
committer | Rouslan Placella <rouslan@placella.com> | 2012-10-31 00:07:01 +0400 |
commit | 5838a4433921f285c70706146343bb21f0430b4a (patch) | |
tree | 501f2bf50007cc9af4205b4d008ef07db4513a50 /js/indexes.js | |
parent | 198c3a25c86d90cbe7d56b9d4744543b35761bfa (diff) |
Use AJAX.registerOnload() instead of $(document).ready()
Diffstat (limited to 'js/indexes.js')
-rw-r--r-- | js/indexes.js | 11 |
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"); }); }); - -/**#@- */ |