diff --git a/themes/bootstrap3/templates/librarycards/editcard.phtml b/themes/bootstrap3/templates/librarycards/editcard.phtml index 83f80888e3b0c19d0908f71e82d5c40af004f9a8..a0daff4e536d8cc28bc0e435cfa5f08b3a40d6d2 100644 --- a/themes/bootstrap3/templates/librarycards/editcard.phtml +++ b/themes/bootstrap3/templates/librarycards/editcard.phtml @@ -13,7 +13,7 @@ <h2><?=$this->transEsc($pageTitle); ?></h2> -<form class="form-edit-card" method="post" name="<?=empty($this->card->id) ? 'newCardForm' : 'editCardForm'?>" autocomplete="off"> +<form class="form-edit-card" method="post" name="<?=empty($this->card->id) ? 'newCardForm' : 'editCardForm'?>" autocomplete="off" data-clear-account-cache> <input type="hidden" name="id" value="<?=empty($this->card->id) ? 'NEW' : $this->card->id ?>"/> <div class="form-group"> <label class="control-label" for="card_name"><?=$this->transEsc('Library Card Name'); ?>:</label> diff --git a/themes/bootstrap3/templates/librarycards/home.phtml b/themes/bootstrap3/templates/librarycards/home.phtml index 4a2ec14b2e1208406635159a58e8b3c594da6130..dac62bcf771da8ab5e19a05484e58dc96b441e35 100644 --- a/themes/bootstrap3/templates/librarycards/home.phtml +++ b/themes/bootstrap3/templates/librarycards/home.phtml @@ -41,7 +41,7 @@ <i class="fa fa-trash-o" aria-hidden="true"></i> <?=$this->transEsc('Delete')?> </a> <ul class="dropdown-menu"> - <li><a href="<?=$this->url('librarycards-deletecard') ?>?cardID=<?=urlencode($record['id'])?>&confirm=1"><?=$this->transEsc('confirm_dialog_yes') ?></a></li> + <li><a href="<?=$this->url('librarycards-deletecard') ?>?cardID=<?=urlencode($record['id'])?>&confirm=1" data-clear-account-cache><?=$this->transEsc('confirm_dialog_yes') ?></a></li> <li><a href="#"><?=$this->transEsc('confirm_dialog_no')?></a></li> </ul> </div>