Page selector in navi panel and in db Structure did not trigger on change

This commit is contained in:
Marc Delisle
2011-01-09 07:52:30 -05:00
parent 27624c6875
commit b41947d46e
2 changed files with 15 additions and 0 deletions

View File

@@ -2435,5 +2435,18 @@ $(document).ready(function() {
*/
$('#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()