diff --git a/themes/bootstrap/templates/RecordDriver/SolrDefault/list-entry.phtml b/themes/bootstrap/templates/RecordDriver/SolrDefault/list-entry.phtml index 32722da2b6d2aebdf66b1c678c175bd54b5923cb..9d5bf869229ca4ecbe37f0c69e8b89adffadaf87 100644 --- a/themes/bootstrap/templates/RecordDriver/SolrDefault/list-entry.phtml +++ b/themes/bootstrap/templates/RecordDriver/SolrDefault/list-entry.phtml @@ -165,14 +165,13 @@ $deleteUrl = is_null($list_id) ? $this->url('myresearch-favorites') : $this->url('userList', array('id' => $list_id)); - $deleteUrl .= '?delete=' . urlencode($id) . '&source=' . urlencode($source); ?> <div class="dropdown"> <i class="icon-trash"></i> <a class="dropdown-toggle" id="dLabel" role="button" data-toggle="dropdown" data-target="#" href="<?=$deleteUrl ?>"> <?=$this->transEsc('Delete') ?> </a> <ul class="dropdown-menu" role="menu" aria-labelledby="dLabel"> - <li><a href="<?=$deleteUrl?>&confirm=true" title="<?=$this->transEsc('confirm_delete_brief')?>"><?=$this->transEsc('confirm_dialog_yes')?></a></li> + <li><a onClick="$.post('<?=$deleteUrl?>', {'delete':'<?=urlencode($id) ?>','source':'<?=urlencode($source) ?>','confirm':true},function(){location.reload(true)})" title="<?=$this->transEsc('confirm_delete_brief')?>"><?=$this->transEsc('confirm_dialog_yes')?></a></li> <li><a><?=$this->transEsc('confirm_dialog_no')?></a></li> </ul> </div> diff --git a/themes/bootstrap/templates/record/hold.phtml b/themes/bootstrap/templates/record/hold.phtml index 1b9692c98213b977f265c393571e5fc41999f3d8..741be749a452ce641895c346dd88cfa5c3af08ae 100644 --- a/themes/bootstrap/templates/record/hold.phtml +++ b/themes/bootstrap/templates/record/hold.phtml @@ -10,7 +10,7 @@ <p class="lead"><?=$this->transEsc('request_place_text')?></p> <?=$this->flashmessages()?> <div class="hold-form"> - <form action="" class="form-horizontal" method="post"> + <form action="" class="form-horizontal" method="post" name="placeHold"> <? if (in_array("comments", $this->extraHoldFields)): ?> <div class="control-group"> <label class="control-label"><?=$this->transEsc("Comments")?>:</label>