|
|
@@ -2166,10 +2166,7 @@ class TableAjax extends ViewAjax {
|
|
|
|
|
|
//trigger callback
|
|
|
if (typeof priv.options.pageChanged == 'function') {
|
|
|
- priv.options.pageChanged.call(e.target, {
|
|
|
- event: e,
|
|
|
- page: _currPage
|
|
|
- });
|
|
|
+ publ.loadPage(_currPage);
|
|
|
}
|
|
|
};
|
|
|
|
|
|
@@ -2643,10 +2640,6 @@ jQuery(document).ready(function(){
|
|
|
sorting: true,
|
|
|
paging: true,
|
|
|
pageSizes: <?php echo json_encode($pageSizes); ?>,
|
|
|
- pageChanged: function(args) {
|
|
|
- var con = jQuery('#<?php echo $this->_htmlID; ?>');
|
|
|
- con.TableAjaxLoadPage(args.page);
|
|
|
- },
|
|
|
pageSizeChanged: function(args) {
|
|
|
var con = jQuery('#<?php echo $this->_htmlID; ?>');
|
|
|
con.TableAjaxLoadPage(0, args.pageSize);
|