{** * buttonConfirmationLinkAction.tpl * * Copyright (c) 2013-2015 Simon Fraser University Library * Copyright (c) 2000-2015 John Willinsky * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING. * * Attach a link action to a button that opens a confirmation dialog and * only clicks the button when the user confirms the dialog. * * Parameters: * buttonSelector: A jQuery selector that designates the button to attach this * link action to. * dialogText: A translation key for the message to be displayed in the dialog. *} {if !$titleIcon}{assign var="titleIcon" value="modal_confirm"}{/if}