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/db_search.js
parent198c3a25c86d90cbe7d56b9d4744543b35761bfa (diff)
Use AJAX.registerOnload() instead of $(document).ready()
Diffstat (limited to 'js/db_search.js')
-rw-r--r--js/db_search.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/db_search.js b/js/db_search.js
index 3b3d33f663..4be8682c2a 100644
--- a/js/db_search.js
+++ b/js/db_search.js
@@ -98,7 +98,7 @@ function deleteResult(result_path, msg, ajaxEnable)
});
}
-$(function() {
+AJAX.registerOnload('db_search.js', function() {
/** Hide the table link in the initial search result */
var icon = PMA_getImage('s_tbl.png', '', {'id': 'table-image'}).toString();
$("#table-info").prepend(icon).hide();
@@ -229,4 +229,4 @@ $(function() {
PMA_ajaxRemoveMessage($msgbox);
})
})
-}, 'top.frame_content'); // end $()
+}); // end $()