From dd265c4f9ad6c42be1094cbb0a136ca8944e01f8 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 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marc VĂ©ron --- 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 8d695c8..5f398a6 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