Fixed jQuery animation when dropping Routines, Triggers and Events.
This commit is contained in:
parent
97e6b7aa56
commit
9e19d03ed5
@ -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 {
|
||||
|
||||
@ -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 {
|
||||
|
||||
@ -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 {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user