Improvement the list advanced Search

This commit is contained in:
Marco Antonio Nina
2013-02-05 12:22:40 -04:00
parent 8eb80b515e
commit dd34aeba39
2 changed files with 22 additions and 9 deletions

View File

@@ -535,7 +535,17 @@ Ext.onReady(function(){
function updateCasesView() {
try{
if (document.getElementById('casesSubFrame').contentWindow.storeCases) {
document.getElementById('casesSubFrame').contentWindow.storeCases.reload();
switch (document.getElementById('casesSubFrame').contentWindow.storeCases.baseParams.action) {
case "todo":
case "unassigned":
case "paused":
case "to_revise":
case "to_reassign":
document.getElementById('casesSubFrame').contentWindow.storeCases.reload();
break;
default:
break;
}
}
}
catch(e){};