Improvement the list advanced Search
This commit is contained in:
@@ -532,10 +532,11 @@ Ext.onReady(function(){
|
|||||||
setTimeout("timer()", parseInt(FORMATS.casesListRefreshTime) * 1000);
|
setTimeout("timer()", parseInt(FORMATS.casesListRefreshTime) * 1000);
|
||||||
});
|
});
|
||||||
|
|
||||||
function updateCasesView(view) {
|
function updateCasesView(viewList) {
|
||||||
|
var refreshList = viewList || false;
|
||||||
try{
|
try{
|
||||||
if (document.getElementById('casesSubFrame').contentWindow.storeCases) {
|
if (document.getElementById('casesSubFrame').contentWindow.storeCases) {
|
||||||
if (view) {
|
if (refreshList) {
|
||||||
document.getElementById('casesSubFrame').contentWindow.storeCases.reload();
|
document.getElementById('casesSubFrame').contentWindow.storeCases.reload();
|
||||||
} else {
|
} else {
|
||||||
switch (document.getElementById('casesSubFrame').contentWindow.storeCases.baseParams.action) {
|
switch (document.getElementById('casesSubFrame').contentWindow.storeCases.baseParams.action) {
|
||||||
|
|||||||
Reference in New Issue
Block a user