--- trunk/public_html/koha.js 2009/03/28 14:20:59 71 +++ trunk/public_html/koha.js 2009/03/28 14:21:21 72 @@ -1,16 +1,18 @@ // Set this to something unique to this client +var rfid_visible = {}; + function process(data) { var a = data.split('|'); console.info('process', a); $('#test').html( a[1] ); - if ( a[0] > 0 ) { - $('#koha') - .html( 'Loading item '+a[0]+' from Koha' ) - .load( '/koha/' + a[0] ) - ; + if ( a[0] > 0 && ! rfid_visible[ a[0] ] ) { + $('#koha').append( '