mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-11 08:28:43 +01:00
changed order of run call, to get infolog and timesheet list working again
This commit is contained in:
parent
081d93ae51
commit
92e3a83be1
@ -92,11 +92,12 @@ class etemplate_widget_nextmatch extends etemplate_widget
|
|||||||
* Sending a first chunk of rows
|
* Sending a first chunk of rows
|
||||||
*
|
*
|
||||||
* @param string $cname
|
* @param string $cname
|
||||||
|
* @param array $expand values for keys 'c', 'row', 'c_', 'row_', 'cont'
|
||||||
*/
|
*/
|
||||||
public function beforeSendToClient($cname)
|
public function beforeSendToClient($cname, array $expand)
|
||||||
{
|
{
|
||||||
$attrs = $this->attrs;
|
$attrs = $this->attrs;
|
||||||
$form_name = self::form_name($cname, $this->id);
|
$form_name = self::form_name($cname, $this->id, $expand);
|
||||||
$value =& self::get_array(self::$request->content, $form_name, true);
|
$value =& self::get_array(self::$request->content, $form_name, true);
|
||||||
|
|
||||||
$value['start'] = 0;
|
$value['start'] = 0;
|
||||||
@ -731,8 +732,8 @@ class etemplate_widget_nextmatch extends etemplate_widget
|
|||||||
// Need this check or the headers will get involved too
|
// Need this check or the headers will get involved too
|
||||||
if($this->type == 'nextmatch')
|
if($this->type == 'nextmatch')
|
||||||
{
|
{
|
||||||
if ($this->id) $cname = self::form_name($cname, $this->id, $params[1]);
|
|
||||||
parent::run($method_name, $params, $respect_disabled);
|
parent::run($method_name, $params, $respect_disabled);
|
||||||
|
if ($this->id) $cname = self::form_name($cname, $this->id, $params[1]);
|
||||||
|
|
||||||
if ($this->attrs['template'])
|
if ($this->attrs['template'])
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user