diff --git a/api/js/etemplate/et2_extension_nextmatch_controller.js b/api/js/etemplate/et2_extension_nextmatch_controller.js index 0e607e5d7a..ae5bbd2907 100644 --- a/api/js/etemplate/et2_extension_nextmatch_controller.js +++ b/api/js/etemplate/et2_extension_nextmatch_controller.js @@ -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;