From 3fa5ba52f99c00331afbfcff84a8ddffc9ea12c5 Mon Sep 17 00:00:00 2001 From: Jermolene Date: Wed, 6 Jan 2016 09:38:12 +0000 Subject: [PATCH] Revert "Merge pull request #2183 from matabele/patch-7" This reverts commit cd36ad582b91227abb25c066c22d7cc552f46b3f, reversing changes made to 83c54f4bb5131645aa5cc4456d7adf9b2d6e26e7. --- editions/tw5.com/tiddlers/widgets/ActionSetFieldWidget.tid | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/editions/tw5.com/tiddlers/widgets/ActionSetFieldWidget.tid b/editions/tw5.com/tiddlers/widgets/ActionSetFieldWidget.tid index ffe8901b5..0e46808f7 100644 --- a/editions/tw5.com/tiddlers/widgets/ActionSetFieldWidget.tid +++ b/editions/tw5.com/tiddlers/widgets/ActionSetFieldWidget.tid @@ -19,8 +19,7 @@ The ''action-setfield'' widget is invisible. Any content within it is ignored. |$index |Optional index of a property in a [[data tiddler|DataTiddlers]] to be assigned the $value attribute| |$value |The value to be assigned to the field or index identified by the $field or $index attribute. If neither is specified then the value is assigned to the text field. If no value is specified, $field or $index will be deleted.| |$timestamp |Specifies whether the timestamp(s) of the target tiddler will be updated (''modified'' and ''modifier'', plus ''created'' and ''creator'' for newly created tiddlers). Can be "yes" (the default) or "no" | -|Attributes of the form TextReference="value" |Each TextReference identifies a field or index to be assigned the corresponding attribute value | -|//{any other attributes not starting with $}// |Each attribute name specifies a field to be assigned the value specified by the attribute value | +|//{any attributes not starting with $}// |Each attribute name specifies a field to be modified with the attribute value providing the value to assign to the field | ! Examples @@ -54,7 +53,7 @@ Here is an example of a button that assigns tags and fields to the tiddler Hello <$macrocall $name='wikitext-example-without-html' src='<$button> -<$action-setfield HelloThere!!tags="MoreTag [[Further More Tags]]" HelloThere!!color="green"/> +<$action-setfield $tiddler="HelloThere" tags="MoreTag [[Further More Tags]]" color="green"/> <$action-sendmessage $message="tm-edit-tiddler" $param="HelloThere"/> Edit ~HelloThere '/>