Adding missing confirmations on Widgets

--HG--
branch : 1.x
extra : rebase_source : 12501a236070056ed5733112fbc0860ec787562e
This commit is contained in:
Sebastien Ros
2012-01-12 17:21:43 -08:00
parent 81eac32945
commit fc99676fe0
2 changed files with 2 additions and 2 deletions

View File

@@ -15,7 +15,7 @@
@using (Html.BeginFormAntiForgeryPost()) {
<h3>@Html.ActionLink(HasText(widget.Title) ? widget.Title : widget.TypeDefinition.DisplayName, "EditWidget", new { @widget.Id, returnUrl })</h3>
<div class="widgets-actions">
<button name="moveOut" class="link" type="submit" value="1">@T("Remove")</button>
<button name="moveOut" class="link" type="submit" value="1" itemprop="RemoveUrl">@T("Remove")</button>
</div>
@Html.Hidden("widgetId", widget.Id)
@Html.Hidden("returnUrl", returnUrl)

View File

@@ -28,7 +28,7 @@
<button name="moveHere" class="link" type="submit" value="1">@T("Move to current layer")</button>
}
else { /* it could be useful to remove the widget regardless of the layer it's on but there's no place in the current UI for this and "Move to current layer" */
<button name="moveOut" class="link" type="submit" value="1">@T("Remove")</button>
<button name="moveOut" class="link" type="submit" value="1" itemprop="RemoveUrl">@T("Remove")</button>
}
</div>
<div class="widgets-move-somewhere">