BUG-9938 When trying to add a user in a group, and search the specific user, it just appears for one second, then it disappear.

I fixed the Search function in file 'workflow/engine/templates/groups/groups Members.js', it was changing the page after the search.
This commit is contained in:
jennylee
2012-10-26 17:24:07 -04:00
parent a94d665a36
commit 8c5588c4da

View File

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