mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-06-24 22:33:16 +00:00
being specific about the tiddler to be deleted via action-deletetiddler
This commit is contained in:
parent
9a23c2471c
commit
00f6aafed6
|
@ -36,7 +36,7 @@ Compute the internal state of the widget
|
||||||
*/
|
*/
|
||||||
DeleteTiddlerWidget.prototype.execute = function() {
|
DeleteTiddlerWidget.prototype.execute = function() {
|
||||||
this.actionFilter = this.getAttribute("$filter");
|
this.actionFilter = this.getAttribute("$filter");
|
||||||
this.actionTiddler = this.getAttribute("$tiddler",this.getVariable("currentTiddler"));
|
this.actionTiddler = this.getAttribute("$tiddler");
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -2,7 +2,7 @@ title: $:/core/ui/AlertTemplate
|
||||||
|
|
||||||
<div class="tc-alert">
|
<div class="tc-alert">
|
||||||
<div class="tc-alert-toolbar">
|
<div class="tc-alert-toolbar">
|
||||||
<$button class="tc-btn-invisible"><$action-deletetiddler/>{{$:/core/images/delete-button}}</$button>
|
<$button class="tc-btn-invisible"><$action-deletetiddler tiddler=<<currentTiddler>>/>{{$:/core/images/delete-button}}</$button>
|
||||||
</div>
|
</div>
|
||||||
<div class="tc-alert-subtitle">
|
<div class="tc-alert-subtitle">
|
||||||
<$view field="component"/> - <$view field="modified" format="date" template="0hh:0mm:0ss DD MM YYYY"/> <$reveal type="nomatch" state="!!count" text=""><span class="tc-alert-highlight">(count: <$view field="count"/>)</span></$reveal>
|
<$view field="component"/> - <$view field="modified" format="date" template="0hh:0mm:0ss DD MM YYYY"/> <$reveal type="nomatch" state="!!count" text=""><span class="tc-alert-highlight">(count: <$view field="count"/>)</span></$reveal>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user