Merge pull request #101 from victorsl/BUG-9042
BUG 9042 "En la pantalla de procesos, no se realiza una buena..." SOLVED
This commit is contained in:
@@ -116,7 +116,8 @@ Ext.onReady(function(){
|
|||||||
if( searchTxt == '' ){
|
if( searchTxt == '' ){
|
||||||
store.setBaseParam( 'processName', '');
|
store.setBaseParam( 'processName', '');
|
||||||
}
|
}
|
||||||
store.load({params:{category: filter, start : 0 , limit : 25 }});
|
|
||||||
|
store.load({params: {category: filter, start: 0, limit: 25}});
|
||||||
}}
|
}}
|
||||||
})
|
})
|
||||||
/* storePageSize = new Ext.data.SimpleStore({
|
/* storePageSize = new Ext.data.SimpleStore({
|
||||||
@@ -294,8 +295,8 @@ Ext.onReady(function(){
|
|||||||
ctCls:'pm_search_x_button',
|
ctCls:'pm_search_x_button',
|
||||||
handler: function(){
|
handler: function(){
|
||||||
//store.setBaseParam( 'category', '<reset>');
|
//store.setBaseParam( 'category', '<reset>');
|
||||||
store.setBaseParam( 'processName', '');
|
store.setBaseParam('processName', '');
|
||||||
store.load({params:{start : 0 , limit : '' }});
|
store.load({params: {start: 0, limit: 25}});
|
||||||
Ext.getCmp('searchTxt').setValue('');
|
Ext.getCmp('searchTxt').setValue('');
|
||||||
//comboCategory.setValue('');
|
//comboCategory.setValue('');
|
||||||
//store.reload();
|
//store.reload();
|
||||||
@@ -307,7 +308,7 @@ Ext.onReady(function(){
|
|||||||
],
|
],
|
||||||
// paging bar on the bottom
|
// paging bar on the bottom
|
||||||
bbar: new Ext.PagingToolbar({
|
bbar: new Ext.PagingToolbar({
|
||||||
pageSize: 15,
|
pageSize: 25,
|
||||||
store: store,
|
store: store,
|
||||||
displayInfo: true,
|
displayInfo: true,
|
||||||
displayMsg: 'Displaying Processes {0} - {1} of {2}',
|
displayMsg: 'Displaying Processes {0} - {1} of {2}',
|
||||||
@@ -337,7 +338,7 @@ Ext.onReady(function(){
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
processesGrid.store.load({params: {"function":"languagesList"}});
|
processesGrid.store.load({params: {"function": "languagesList", "start": 0, "limit": 25}});
|
||||||
processesGrid.addListener('rowcontextmenu', onMessageContextMenu,this);
|
processesGrid.addListener('rowcontextmenu', onMessageContextMenu,this);
|
||||||
processesGrid.on('rowcontextmenu', function (grid, rowIndex, evt) {
|
processesGrid.on('rowcontextmenu', function (grid, rowIndex, evt) {
|
||||||
var sm = grid.getSelectionModel();
|
var sm = grid.getSelectionModel();
|
||||||
@@ -522,9 +523,9 @@ function doSearch(){
|
|||||||
if(comboCategory.getValue() == '')
|
if(comboCategory.getValue() == '')
|
||||||
store.setBaseParam( 'category', '<reset>');
|
store.setBaseParam( 'category', '<reset>');
|
||||||
filter = Ext.getCmp('searchTxt').getValue();
|
filter = Ext.getCmp('searchTxt').getValue();
|
||||||
|
|
||||||
store.setBaseParam('processName', filter);
|
store.setBaseParam('processName', filter);
|
||||||
store.load({params:{processName: filter, start : 0 , limit : 25 }});
|
|
||||||
|
store.load({params:{processName: filter, start: 0 , limit: 25}});
|
||||||
}
|
}
|
||||||
|
|
||||||
editProcess = function(){
|
editProcess = function(){
|
||||||
|
|||||||
Reference in New Issue
Block a user