mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 15:18:58 +01:00
Now reading is_parent and parent_id from the correct place
This commit is contained in:
parent
a8ed2af938
commit
b4460d5924
@ -163,11 +163,12 @@ var et2_nextmatch_rowProvider = Class.extend({
|
||||
tr.appendChild(row);
|
||||
|
||||
// Make the row expandable
|
||||
if (typeof _data["is_parent"] !== "undefined" && _data["is_parent"])
|
||||
if (typeof _data.content["is_parent"] !== "undefined"
|
||||
&& _data.content["is_parent"])
|
||||
{
|
||||
_row.makeExpandable(true, function () {
|
||||
return this._subgridCallback.call(this._context,
|
||||
_row, _data["parent_id"]);
|
||||
_row, _data.content["parent_id"]);
|
||||
}, this);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user