diff --git a/core/modules/widgets/qualify.js b/core/modules/widgets/qualify.js index 7597198ef..07a5c8b4e 100644 --- a/core/modules/widgets/qualify.js +++ b/core/modules/widgets/qualify.js @@ -39,10 +39,10 @@ Compute the internal state of the widget QualifyWidget.prototype.execute = function() { // Get our parameters this.qualifyName = this.getAttribute("name"); - this.qualifyText = this.getAttribute("text"); + this.qualifyTitle = this.getAttribute("title"); // Set context variable if(this.qualifyName) { - this.setVariable(this.qualifyName,this.qualifyText + "-" + this.getStateQualifier()); + this.setVariable(this.qualifyName,this.qualifyTitle + "-" + this.getStateQualifier()); } // Construct the child widgets this.makeChildWidgets(); @@ -53,7 +53,7 @@ Selectively refreshes the widget if needed. Returns true if the widget or any of */ QualifyWidget.prototype.refresh = function(changedTiddlers) { var changedAttributes = this.computeAttributes(); - if(changedAttributes.name || changedAttributes.text) { + if(changedAttributes.name || changedAttributes.title) { this.refreshSelf(); return true; } else { diff --git a/core/wiki/macros/toc.tid b/core/wiki/macros/toc.tid index 5ff68e8a2..b0751c318 100644 --- a/core/wiki/macros/toc.tid +++ b/core/wiki/macros/toc.tid @@ -32,7 +32,7 @@ tags: $:/tags/Macro \define toc-linked-expandable-body(tag,sort:"",itemClassFilter,exclude,path) -<$qualify name="toc-state" text={{{ [[$:/state/toc]addsuffix<__path__>addsuffix[-]addsuffix] }}}> +<$qualify name="toc-state" title={{{ [[$:/state/toc]addsuffix<__path__>addsuffix[-]addsuffix] }}}> <$set name="toc-item-class" filter=<<__itemClassFilter__>> emptyValue="toc-item" value="toc-item-selected">
  • >> <$link> @@ -58,7 +58,7 @@ tags: $:/tags/Macro \define toc-unlinked-expandable-body(tag,sort:"",itemClassFilter:" ",exclude,path) -<$qualify name="toc-state" text={{{ [[$:/state/toc]addsuffix<__path__>addsuffix[-]addsuffix] }}}> +<$qualify name="toc-state" title={{{ [[$:/state/toc]addsuffix<__path__>addsuffix[-]addsuffix] }}}> <$set name="toc-item-class" filter=<<__itemClassFilter__>> emptyValue="toc-item" value="toc-item-selected">
  • >> <$reveal type="nomatch" state=<> text="open"> @@ -98,7 +98,7 @@ tags: $:/tags/Macro \end \define toc-linked-selective-expandable-body(tag,sort:"",itemClassFilter:" ",exclude,path) -<$qualify name="toc-state" text={{{ [[$:/state/toc]addsuffix<__path__>addsuffix[-]addsuffix] }}}> +<$qualify name="toc-state" title={{{ [[$:/state/toc]addsuffix<__path__>addsuffix[-]addsuffix] }}}> <$set name="toc-item-class" filter=<<__itemClassFilter__>> emptyValue="toc-item" value="toc-item-selected" >
  • >> <$link> @@ -125,7 +125,7 @@ tags: $:/tags/Macro \end \define toc-unlinked-selective-expandable-body(tag,sort:"",itemClassFilter:" ",exclude,path) -<$qualify name="toc-state" text={{{ [[$:/state/toc]addsuffix<__path__>addsuffix[-]addsuffix] }}}> +<$qualify name="toc-state" title={{{ [[$:/state/toc]addsuffix<__path__>addsuffix[-]addsuffix] }}}> <$set name="toc-item-class" filter=<<__itemClassFilter__>> emptyValue="toc-item" value="toc-item-selected">
  • >> <$list filter="[all[current]tagging[]limit[1]]" variable="ignore" emptyMessage="<$button class='tc-btn-invisible'>{{$:/core/images/blank}} <$view field='caption'><$view field='title'/>">