From 54b37dd98c345388e948df159c7fb21e2f2f3bc9 Mon Sep 17 00:00:00 2001
From: Jonathan Druart <jonathan.druart@biblibre.com>
Date: Tue, 13 Aug 2013 15:27:38 +0200
Subject: [PATCH] [PASSED QA] Bug 7298: FIX checkboxes binding on load

Click on checkboxes should be bound on load.

Signed-off-by: sonia <koha@univ-lyon3.fr>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
---
 .../prog/en/modules/acqui/lateorders.tt            |    1 +
 1 file changed, 1 insertion(+)

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt
index 812f73d..b4a02e1 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt
@@ -38,6 +38,7 @@ $(document).ready(function() {
             };
         }
     } ) );
+    $('input:checkbox[name=ordernumber]').bind('click', check_uncheck);
     $('#CheckAll').click(function(){ $(late_orderst.fnGetNodes()).find("td").checkCheckboxes();});
     $('#CheckNone').click(function(){ $(late_orderst.fnGetNodes()).find("td").unCheckCheckboxes();});
 
-- 
1.7.9.5