diff --git a/core/modules/widgets/action-deletetiddler.js b/core/modules/widgets/action-deletetiddler.js index f98346989..816f9f55e 100644 --- a/core/modules/widgets/action-deletetiddler.js +++ b/core/modules/widgets/action-deletetiddler.js @@ -36,7 +36,7 @@ Compute the internal state of the widget */ DeleteTiddlerWidget.prototype.execute = function() { this.actionFilter = this.getAttribute("$filter"); - this.actionTiddler = this.getAttribute("$tiddler",this.getVariable("currentTiddler")); + this.actionTiddler = this.getAttribute("$tiddler"); }; /* diff --git a/core/ui/AlertTemplate.tid b/core/ui/AlertTemplate.tid index 59e3bc503..dd51643ff 100644 --- a/core/ui/AlertTemplate.tid +++ b/core/ui/AlertTemplate.tid @@ -2,7 +2,7 @@ title: $:/core/ui/AlertTemplate
-<$button class="tc-btn-invisible"><$action-deletetiddler/>{{$:/core/images/delete-button}} +<$button class="tc-btn-invisible"><$action-deletetiddler tiddler=<>/>{{$:/core/images/delete-button}}
<$view field="component"/> - <$view field="modified" format="date" template="0hh:0mm:0ss DD MM YYYY"/> <$reveal type="nomatch" state="!!count" text="">(count: <$view field="count"/>)