KMIG-71: KCLSUPGRAD-39: Cancel button in staff client Place Hold does not work
authorBill Erickson <berickxx@gmail.com>
Wed, 29 Oct 2014 21:05:21 +0000 (17:05 -0400)
committerBill Erickson <berickxx@gmail.com>
Thu, 21 Mar 2019 19:46:23 +0000 (15:46 -0400)
    Cross-port: 246a5bd

KCLS/openils/var/templates_kcls/opac/parts/place_hold.tt2

index 115e7a1..4ca9153 100644 (file)
@@ -113,7 +113,7 @@ Not part of the KCLS skin.  Leaving it here in case they want to look at integra
         <input type="image" name="submit" value="submit" title="[% l('Submit') %]"
             alt="[% l('Submit') %]" src="[% ctx.media_prefix %]/images/btnSubmit.png" />
         &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-        <a href = "[% CGI.param('redirect_to') || CGI.referer | html %]" id="holds_cancel">
+        <a href="javascript:history.go(-1);" id="holds_cancel">
             <img alt="[% l('Cancel') %]" src="[% ctx.media_prefix %]/images/btnCancel.png" />
         </a>
     </form>