Page selector in navi panel and in db Structure did not trigger on change
This commit is contained in:
@@ -83,6 +83,7 @@ if ($num_tables == 0) {
|
|||||||
/**
|
/**
|
||||||
* Displays the tables list
|
* Displays the tables list
|
||||||
*/
|
*/
|
||||||
|
echo '<div id="tableslistcontainer">';
|
||||||
$_url_params = array(
|
$_url_params = array(
|
||||||
'pos' => $pos,
|
'pos' => $pos,
|
||||||
'db' => $db);
|
'db' => $db);
|
||||||
@@ -530,6 +531,7 @@ if (!$db_is_information_schema) {
|
|||||||
// display again the table list navigator
|
// display again the table list navigator
|
||||||
PMA_listNavigator($total_num_tables, $pos, $_url_params, 'db_structure.php', 'frame_content', $GLOBALS['cfg']['MaxTableList']);
|
PMA_listNavigator($total_num_tables, $pos, $_url_params, 'db_structure.php', 'frame_content', $GLOBALS['cfg']['MaxTableList']);
|
||||||
?>
|
?>
|
||||||
|
</div>
|
||||||
<hr />
|
<hr />
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
@@ -2435,5 +2435,18 @@ $(document).ready(function() {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
$('#visual_builder_anchor').show();
|
$('#visual_builder_anchor').show();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Page selector in db Structure (non-AJAX)
|
||||||
|
*/
|
||||||
|
$('#tableslistcontainer').find('#pageselector').live('change', function() {
|
||||||
|
$(this).parent("form").submit();
|
||||||
|
});
|
||||||
|
/**
|
||||||
|
* Page selector in navi panel (non-AJAX)
|
||||||
|
*/
|
||||||
|
$('#navidbpageselector').find('#pageselector').live('change', function() {
|
||||||
|
$(this).parent("form").submit();
|
||||||
|
});
|
||||||
}) // end of $(document).ready()
|
}) // end of $(document).ready()
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user