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:
authorJo Michael <me@mynetx.net>2012-04-21 04:44:18 +0400
committerJo Michael <me@mynetx.net>2012-04-21 04:44:18 +0400
commit13644d8591812eca0148327a5709f0f12d77993b (patch)
tree8ab099ba471a16ab60f1a391c82f7463984ceacc /js/db_search.js
parent62b2d09da18ef40cdd6008dba5f9f60027831070 (diff)
Short-hand notation for jQuery document.ready event
Diffstat (limited to 'js/db_search.js')
-rw-r--r--js/db_search.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/js/db_search.js b/js/db_search.js
index 4cb1396cc0..5c80bb2f90 100644
--- a/js/db_search.js
+++ b/js/db_search.js
@@ -26,7 +26,7 @@
*/
function loadResult(result_path, table_name, link, ajaxEnable)
{
- $(document).ready(function() {
+ $(function() {
if(ajaxEnable) {
/** Hides the results shown by the delete criteria */
var $msg = PMA_ajaxShowMessage();
@@ -64,7 +64,7 @@ function loadResult(result_path, table_name, link, ajaxEnable)
*/
function deleteResult(result_path, msg, ajaxEnable)
{
- $(document).ready(function() {
+ $(function() {
/** Hides the results shown by the browse criteria */
$("#table-info").hide();
$('#browse-results').hide();
@@ -94,7 +94,7 @@ function deleteResult(result_path, msg, ajaxEnable)
});
}
-$(document).ready(function() {
+$(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();
@@ -225,4 +225,4 @@ $(document).ready(function() {
PMA_ajaxRemoveMessage($msgbox);
})
})
-}, 'top.frame_content'); // end $(document).ready()
+}, 'top.frame_content'); // end $()