mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
Etemplate - fix nextmatch only fetched data when it was at top level namespace
This commit is contained in:
parent
a5402ad4b6
commit
31b9c529b8
@ -61,7 +61,22 @@ var et2_nextmatch_controller = (function(){ "use strict"; return et2_dataview_co
|
||||
// Copy the given parameters
|
||||
this._actionLinks = _actionLinks;
|
||||
this._execId = _execId;
|
||||
this._widgetId = _widget.id;
|
||||
|
||||
// Get full widget ID, including path
|
||||
var id = _widget.getArrayMgr('content').getPath();
|
||||
|
||||
if(typeof id == 'string')
|
||||
{
|
||||
this._widgetId = id;
|
||||
}
|
||||
else if (id.length === 1)
|
||||
{
|
||||
this._widgetId = id[0];
|
||||
}
|
||||
else
|
||||
{
|
||||
this._widgetId = id.shift() + '[' + id.join('][') + ']';
|
||||
}
|
||||
this._parentId = _parentId;
|
||||
this._rowProvider = _rowProvider;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user