--- trunk/public_html/koha.js 2009/03/29 10:52:20 83 +++ trunk/public_html/koha.js 2009/03/29 17:48:11 84 @@ -33,10 +33,11 @@ item.click( function() { // remove selected item - this.fadeOut('slow', function() { + item.fadeOut('slow', function() { console.debug('remove',id); - update_selection( -1 ); - this.remove(); + item.remove(); + var selected = update_selected( -1 ); + console.info('selected', selected); }); }); }, @@ -81,7 +82,7 @@ } else if ( a[0] == 'removed' ) { remove_tag( a[1] ); } else { - console.error( 'unknown', cmd, id ); + console.error( 'unknown', a ); } };