From 0b96a2c7d66a69548d2e670686d05d097bcdfba7 Mon Sep 17 00:00:00 2001 From: Alex Buckley Date: Wed, 19 Apr 2017 14:50:22 +1200 Subject: [PATCH] Bug 18438 - Removed unused js function call and if statement check for running js function --- koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt | 5 ----- 1 file changed, 5 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt index 4f4b560..62c3e41 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt @@ -36,7 +36,6 @@ function Dopop(link) { var newin = window.open(link, 'popup', 'width=600,height=400,resizable=1,toolbar=0,scrollbars=1,top'); $("#barcode").focus(); - $(".btn btn-default approve").onClickConfirm(); } $(document).ready(function () { $(".modal").modal({ backdrop: 'static' }).on('shown', function() { @@ -48,10 +47,6 @@ $(document).ready(function () { [% IF print_slip %] Dopop('hold-transfer-slip.pl?borrowernumber=[% borrowernumber %]&biblionumber=[% biblionumber %]'); [% END %] - [% IF confirm %] - $(".modal").modal().off; - [% END %] - var columns_settings = [% ColumnsSettings.GetColumns( 'circ', 'returns', 'checkedintable', 'json' ) %] var returns_table = KohaTable("#checkedintable", { -- 2.1.4