From 3ee29ccacb367d539f55575051271c1638819abf Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 6 Aug 2020 10:07:26 +0200 Subject: [PATCH] disable autorefresh in infolog and timesheet --- infolog/inc/class.infolog_ui.inc.php | 1 + timesheet/inc/class.timesheet_ui.inc.php | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/infolog/inc/class.infolog_ui.inc.php b/infolog/inc/class.infolog_ui.inc.php index 16a78e66d1..f359bcae10 100644 --- a/infolog/inc/class.infolog_ui.inc.php +++ b/infolog/inc/class.infolog_ui.inc.php @@ -929,6 +929,7 @@ class infolog_ui $readonlys['cancel'] = $action != 'sp'; $this->tmpl->read('infolog.index'); + $values['nm']['disable_autorefresh'] = true; // we have push $values['nm']['options-filter'] = $this->filters; $values['nm']['get_rows'] = 'infolog.infolog_ui.get_rows'; $values['nm']['options-filter2'] = (in_array($this->prefs['show_links'],array('all','no_describtion')) ? array() : array( diff --git a/timesheet/inc/class.timesheet_ui.inc.php b/timesheet/inc/class.timesheet_ui.inc.php index e5d1ea0449..b0a92d1dc5 100644 --- a/timesheet/inc/class.timesheet_ui.inc.php +++ b/timesheet/inc/class.timesheet_ui.inc.php @@ -948,7 +948,8 @@ class timesheet_ui extends timesheet_bo //'actions' => $this->get_actions(), 'default_cols' => '!legacy_actions', // switch legacy actions column and row off by default 'pm_integration' => $this->pm_integration, - 'placeholder_actions' => array('add') + 'placeholder_actions' => array('add'), + 'disable_autorefresh' => true, // we have push ); }