diff options
author | Asbjørn Sloth Tønnesen <asbjorn@asbjorn.biz> | 2012-07-10 20:09:02 +0000 |
---|---|---|
committer | Asbjørn Sloth Tønnesen <asbjorn@asbjorn.biz> | 2012-07-10 20:09:02 +0000 |
commit | cad3b444f35b64280dcfce3a27d739a7a4642d1d (patch) | |
tree | 250807037104491e9ef25a255458b6f213b9f9e8 /web/js | |
parent | e633c7f653b1ea89118fc71914dfd07330ebd4cf (diff) | |
download | labitrack-cad3b444f35b64280dcfce3a27d739a7a4642d1d.tar.gz labitrack-cad3b444f35b64280dcfce3a27d739a7a4642d1d.tar.xz labitrack-cad3b444f35b64280dcfce3a27d739a7a4642d1d.zip |
fix print on view
Signed-off-by: Asbjørn Sloth Tønnesen <asbjorn@asbjorn.biz>
Diffstat (limited to 'web/js')
-rw-r--r-- | web/js/labitrack.d/45-view.js | 2 |
1 files changed, 1 insertions, 1 deletions
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; }); |