diff --git a/js/db_events.js b/js/db_events.js index 23e559999f..0c0122a7db 100644 --- a/js/db_events.js +++ b/js/db_events.js @@ -27,10 +27,14 @@ $(document).ready(function() { PMA_ajaxShowMessage(data.message); $("#result_query").remove(); if ($('#event_list tr').length == 2) { - $('#event_list').remove(); - $('#no_events').show(); + $('#event_list').hide("slow", function () { + $(this).remove(); + }); + $('#no_events').show("slow"); } else { - $curr_event_row.hide("medium").remove(); + $curr_event_row.hide("slow", function () { + $(this).remove(); + }); } } else { diff --git a/js/db_routines.js b/js/db_routines.js index d8615cceb0..aaca0ae7c0 100644 --- a/js/db_routines.js +++ b/js/db_routines.js @@ -28,10 +28,14 @@ $(document).ready(function() { PMA_ajaxShowMessage(data.message); $("#result_query").remove(); if ($('#routine_list tr').length == 2) { - $('#routine_list').remove(); - $('#no_routines').show(); + $('#routine_list').hide("slow", function () { + $(this).remove(); + }); + $('#no_routines').show("slow"); } else { - $curr_proc_row.hide("medium").remove(); + $curr_proc_row.hide("slow", function () { + $(this).remove(); + }); } } else { diff --git a/js/display_triggers.js b/js/display_triggers.js index 447f20a1f0..e7bd57a9b1 100644 --- a/js/display_triggers.js +++ b/js/display_triggers.js @@ -27,10 +27,14 @@ $(document).ready(function() { PMA_ajaxShowMessage(data.message); $("#result_query").remove(); if ($('#trigger_list tr').length == 2) { - $('#trigger_list').remove(); - $('#no_triggers').show(); + $('#trigger_list').hide("slow", function () { + $(this).remove(); + }); + $('#no_triggers').show("slow"); } else { - $curr_trig_row.hide("medium").remove(); + $curr_trig_row.hide("slow", function () { + $(this).remove(); + }); } } else {