BUG 9712 User assignment issue SOLVED

- According to the specifications.
- Was add reload in the same page.
This commit is contained in:
Marco Antonio Nina
2012-09-12 11:07:07 -04:00
parent 66f748d6f7
commit 75043f1a07

View File

@@ -485,7 +485,17 @@ RemoveAllUsersAction = function(){
//Function DoSearch Available
DoSearchA = function(){
availableGrid.store.load({params: {textFilter: searchTextA.getValue()}});
numPage = parseInt(bbarpagingAvailable.getPageData().activePage);
availableGrid.store.load(
{params: {textFilter: searchTextA.getValue()},
callback: function (r, options, success) {
total = parseInt(bbarpagingAvailable.getPageData().total);
if (((numPage-1)*pageSize) >= total) {
numPage--;
}
availableGrid.getBottomToolbar().changePage(numPage);
}
});
};
//Function DoSearch Assigned