forked from extern/egroupware
Etemplate: Match server-side grid row namespacing to client-side
Client side does not open a new data perspective if row has an ID, server now doesn't to match. Fixes grids with row IDs lost their data on submit.
This commit is contained in:
parent
5ef339dc9b
commit
0fcfad04b4
@ -88,7 +88,7 @@ class Grid extends Box
|
||||
return false; // return
|
||||
}
|
||||
|
||||
if ($this->id) $cname = self::form_name($cname, $this->id, $expand);
|
||||
if ($this->id && $this->type !== 'row') $cname = self::form_name($cname, $this->id, $expand);
|
||||
if ($expand['cname'] !== $cname && $cname)
|
||||
{
|
||||
$expand['cont'] =& self::get_array(self::$request->content, $cname);
|
||||
|
Loading…
Reference in New Issue
Block a user