From cad3b444f35b64280dcfce3a27d739a7a4642d1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Asbj=C3=B8rn=20Sloth=20T=C3=B8nnesen?= Date: Tue, 10 Jul 2012 20:09:02 +0000 Subject: fix print on view MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Asbjørn Sloth Tønnesen --- web/js/labitrack.d/45-view.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/js') diff --git a/web/js/labitrack.d/45-view.js b/web/js/labitrack.d/45-view.js index c94bc9e..27e519b 100644 --- a/web/js/labitrack.d/45-view.js +++ b/web/js/labitrack.d/45-view.js @@ -8,7 +8,7 @@ var label = new λ.label(); label.set_canvas(canvas); label.set_data(o.toJSON()); - $('.bnt_print').die().click(function(){ + $('.btn_print').click(function(){ label.print(); return false; }); -- cgit v1.2.1