X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=examples%2Fselfcheck.js;h=e1917c207e2853fd779fb46940781762ebbb5cef;hb=61e95b9b04ddad81df6b792098ab1c016203aea1;hp=c57987e19308d8ac41c61ad05dc8bdc3474724e6;hpb=392c5990b91553b8ccc244744cef5e51f8753018;p=Biblio-RFID.git diff --git a/examples/selfcheck.js b/examples/selfcheck.js index c57987e..e1917c2 100644 --- a/examples/selfcheck.js +++ b/examples/selfcheck.js @@ -68,25 +68,17 @@ function change_page(new_state) { function got_visible_tags(data,textStatus) { var html = 'No tags in range'; if ( data.tags ) { - scan_tags_active = false; html = ''; - scan_tags_active = true; } var arrows = Array( 8592, 8598, 8593, 8599, 8594, 8600, 8595, 8601 ); @@ -117,7 +108,7 @@ function got_visible_tags(data,textStatus) { + '' + html ; - $('#tags').html( html ); + $('#tags').html( html ); // FIXME leaks memory? pending_jsonp--; }; @@ -213,3 +204,6 @@ function circulation( barcode, sid ) { } } +function end() { + // nop +}