diff --git a/core/modules/widgets/list.js b/core/modules/widgets/list.js index f4981df33..21577774c 100755 --- a/core/modules/widgets/list.js +++ b/core/modules/widgets/list.js @@ -305,6 +305,8 @@ Compute the internal state of the widget ListItemWidget.prototype.execute = function() { // Set the current list item title this.setVariable(this.parseTreeNode.variableName,this.parseTreeNode.itemTitle); + // Make sure the item title is used by widget.getStateQualifier() + this.setVariable("transclusion","{" + this.parseTreeNode.itemTitle + "}"); // Construct the child widgets this.makeChildWidgets(); }; diff --git a/core/wiki/macros/tabs.tid b/core/wiki/macros/tabs.tid index c9d44d2e3..6a1294ecb 100644 --- a/core/wiki/macros/tabs.tid +++ b/core/wiki/macros/tabs.tid @@ -3,8 +3,9 @@ tags: $:/tags/Macro \define tabs(tabsList,default,state:"$:/state/tab",class,template)