N°2598 - When refreshing a list, loosing page and order - improvement of code

This commit is contained in:
acognet
2021-02-16 15:05:06 +01:00
parent 8f0e665c68
commit 6879cd762c
8 changed files with 57 additions and 31 deletions

View File

@@ -151,7 +151,7 @@ abstract class DashboardLayoutMultiCol extends DashboardLayout
}
$iCellIdx++;
}
$sJSReload .= $oDashboardRow->GetJSRefresh()."\n";
$sJSReload .= $oDashboardRow->GetJSRefreshCallback()."\n";
}
$oPage->add_script("function updateDashboard".$aExtraParams['dashboard_div_id']."(){".$sJSReload."}");