diff --git a/core/wiki/macros/dumpvariables.tid b/core/wiki/macros/dumpvariables.tid index 40b4a4088..7f13f0323 100644 --- a/core/wiki/macros/dumpvariables.tid +++ b/core/wiki/macros/dumpvariables.tid @@ -67,7 +67,6 @@ tags: $:/tags/Global <$action-setfield $tiddler=<> text={{{ [!is[blank]then] :else[format:variable[$type$ $name$($params$)]] }}} /> - \end \procedure dv-clearStatesButton() @@ -82,6 +81,7 @@ tags: $:/tags/Global \procedure dv-clearSearchButton() <$button class="tc-btn-invisible btn-x" tooltip={{$:/language/Search/Variables/Clear/Search}}> <$action-deletetiddler $tiddler=<>/> + <$action-sendmessage $message="tm-focus-selector" $param=".tc-advanced-search input.x-inp"/> {{$:/core/images/close-button}} \end @@ -89,6 +89,7 @@ tags: $:/tags/Global \procedure dv-clearExcludeButton() <$button class="tc-btn-invisible btn-yy" tooltip={{$:/language/Search/Variables/Clear/Exclude}}> <$action-deletetiddler $tiddler=<>/> + <$action-sendmessage $message="tm-focus-selector" $param=".tc-advanced-search input.y-inp"/> {{$:/core/images/close-button}} \end @@ -224,6 +225,7 @@ tags: $:/tags/Global tag=input class="txt-input x-inp" placeholder={{$:/language/Search/Variables/Filter/Hint}} + focus="yes" /> <> \end @@ -348,20 +350,12 @@ tags: $:/tags/Global \end - - -\procedure dv-lc-actionsXX() -<$action-setfield $tiddler="$:/temp/advancedsearch" text=<>/> -<$action-setfield $tiddler="$:/temp/advancedsearch/input" text=<>/> -<$action-setfield $tiddler="$:/temp/advancedsearch/refresh" text="yes"/> -<$action-sendmessage $message="tm-focus-selector" $param=".tc-advanced-search input"/> -\end - \procedure dv-lc-actions() <$action-setfield $tiddler=<> text=<>/> + \end \procedure dv-addNewVariableFilter-actions() @@ -380,7 +374,7 @@ tags: $:/tags/Global \procedure dv-addNewVariableFilter() <$button tag="a" actions=<> class="tc-tiddlylink"> - <$text text=<>/> + <$text text={{$:/language/Search/Variables/Exclude/Save}}/> \end