Merge branch '1527-Auto-refresco-no-permite-crear-nuevos-dashboards' into 'develop'

Disable autorefresh on new dashboard view - #1527

See merge request artica/pandorafms!1029
This commit is contained in:
vgilc 2017-11-29 16:47:45 +01:00
commit 53ac2d94bf
1 changed files with 6 additions and 0 deletions

View File

@ -388,6 +388,12 @@ config_check();
$do_refresh = false;
}
}
$new_dashboard = get_parameter('new_dashboard',0);
if ($_GET['sec2'] == 'enterprise/dashboard/main_dashboard' && $new_dashboard) {
$do_refresh = false;
}
if ($do_refresh) {
?>