disable autorefresh in infolog and timesheet

This commit is contained in:
Ralf Becker 2020-08-06 10:07:26 +02:00
parent deac5166e7
commit 3ee29ccacb
2 changed files with 3 additions and 1 deletions

View File

@ -929,6 +929,7 @@ class infolog_ui
$readonlys['cancel'] = $action != 'sp'; $readonlys['cancel'] = $action != 'sp';
$this->tmpl->read('infolog.index'); $this->tmpl->read('infolog.index');
$values['nm']['disable_autorefresh'] = true; // we have push
$values['nm']['options-filter'] = $this->filters; $values['nm']['options-filter'] = $this->filters;
$values['nm']['get_rows'] = 'infolog.infolog_ui.get_rows'; $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( $values['nm']['options-filter2'] = (in_array($this->prefs['show_links'],array('all','no_describtion')) ? array() : array(

View File

@ -948,7 +948,8 @@ class timesheet_ui extends timesheet_bo
//'actions' => $this->get_actions(), //'actions' => $this->get_actions(),
'default_cols' => '!legacy_actions', // switch legacy actions column and row off by default 'default_cols' => '!legacy_actions', // switch legacy actions column and row off by default
'pm_integration' => $this->pm_integration, 'pm_integration' => $this->pm_integration,
'placeholder_actions' => array('add') 'placeholder_actions' => array('add'),
'disable_autorefresh' => true, // we have push
); );
} }