提交 81625bb7 编写于 作者: U unknown

解决某些情况下视图跳页错的问题误

上级 a51c39c3
......@@ -395,7 +395,7 @@ MWF.xApplication.query.Query.Viewer = MWF.QViewer = new Class({
}
}.bind(this));
},
loadCurrentPageData: function( callback ){
loadCurrentPageData: function( callback, async ){
//是否需要在翻页的时候清空之前的items ?
this.items = [];
......@@ -432,7 +432,7 @@ MWF.xApplication.query.Query.Viewer = MWF.QViewer = new Class({
this.fireEvent("postLoadPage");
if(callback)callback();
}.bind(this));
}.bind(this), null, async === false ? false : true );
},
......@@ -2194,7 +2194,7 @@ MWF.xApplication.query.Query.Viewer.Paging = new Class({
onJumpingPage : function( pageNum, itemNum ){
this.view.currentPage = pageNum;
this.fireEvent("jump");
this.view.loadCurrentPageData();
this.view.loadCurrentPageData( null, false );
}.bind(this),
onPostLoad : function () {
if( firstLoading ){
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册