Improvement the list advanced Search

This commit is contained in:
Marco Antonio Nina
2013-02-05 15:20:22 -04:00
parent f2452cd4f2
commit 3d974cc1e2

View File

@@ -532,10 +532,11 @@ Ext.onReady(function(){
setTimeout("timer()", parseInt(FORMATS.casesListRefreshTime) * 1000);
});
function updateCasesView(view) {
function updateCasesView(viewList) {
var refreshList = viewList || false;
try{
if (document.getElementById('casesSubFrame').contentWindow.storeCases) {
if (view) {
if (refreshList) {
document.getElementById('casesSubFrame').contentWindow.storeCases.reload();
} else {
switch (document.getElementById('casesSubFrame').contentWindow.storeCases.baseParams.action) {