Init sliders again after getting it using AJAX

This commit is contained in:
Michal Čihař
2011-02-08 12:12:21 +01:00
parent a22f7aaf63
commit a6e6c3fcf1

View File

@@ -255,6 +255,7 @@ $(document).ready(function() {
if($("#togglequerybox").siblings(":visible").length > 0) { if($("#togglequerybox").siblings(":visible").length > 0) {
$("#togglequerybox").trigger('click'); $("#togglequerybox").trigger('click');
} }
PMA_init_slider();
} }
}) // end $.post() }) // end $.post()
}) // end SQL Query submit }) // end SQL Query submit
@@ -287,6 +288,7 @@ $(document).ready(function() {
$.post($the_form.attr('action'), $the_form.serialize(), function(data) { $.post($the_form.attr('action'), $the_form.serialize(), function(data) {
$("#sqlqueryresults").html(data); $("#sqlqueryresults").html(data);
$("#sqlqueryresults").trigger('appendAnchor'); $("#sqlqueryresults").trigger('appendAnchor');
PMA_init_slider();
}) // end $.post() }) // end $.post()
})// end Paginate results table })// end Paginate results table
@@ -307,6 +309,7 @@ $(document).ready(function() {
$.post($the_form.attr('action'), $the_form.serialize() + '&ajax_request=true', function(data) { $.post($the_form.attr('action'), $the_form.serialize() + '&ajax_request=true', function(data) {
$("#sqlqueryresults").html(data); $("#sqlqueryresults").html(data);
$("#sqlqueryresults").trigger('appendAnchor'); $("#sqlqueryresults").trigger('appendAnchor');
PMA_init_slider();
}) // end $.post() }) // end $.post()
} else { } else {
$the_form.submit(); $the_form.submit();
@@ -349,6 +352,7 @@ $(document).ready(function() {
$("#sqlqueryresults") $("#sqlqueryresults")
.html(data) .html(data)
.trigger('appendAnchor'); .trigger('appendAnchor');
PMA_init_slider();
}) // end $.post() }) // end $.post()
}) })
//end displayOptionsForm handler //end displayOptionsForm handler