<?php
/* Smarty version 3.1.33, created on 2025-03-24 03:46:38
  from 'app:linkActionbuttonRedirectL' */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '3.1.33',
  'unifunc' => 'content_67e0d59ed22501_83877556',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    '274e5760bd0d025c75478005c68b6287a28150b0' => 
    array (
      0 => 'app:linkActionbuttonRedirectL',
      1 => 1719763636,
      2 => 'app',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_67e0d59ed22501_83877556 (Smarty_Internal_Template $_smarty_tpl) {
echo '<script'; ?>
>
	$(function() {
		$('<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['buttonSelector']->value,'javascript' ));?>
').pkpHandler(
				'$.pkp.controllers.linkAction.LinkActionHandler',
				{
					actionRequest: '$.pkp.classes.linkAction.RedirectRequest',
					actionRequestOptions: {
						url: <?php echo json_encode($_smarty_tpl->tpl_vars['cancelUrl']->value);?>
,
						name: <?php echo json_encode($_smarty_tpl->tpl_vars['cancelUrlTarget']->value);?>

					},
			});
	});
<?php echo '</script'; ?>
>
<?php }
}
