/[meteor]/trunk/public_html/koha.js
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/public_html/koha.js

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 83 by dpavlin, Sun Mar 29 10:52:20 2009 UTC revision 84 by dpavlin, Sun Mar 29 17:48:11 2009 UTC
# Line 33  function read_tag( id ) { Line 33  function read_tag( id ) {
33    
34                                  item.click( function() {                                  item.click( function() {
35                                          // remove selected item                                          // remove selected item
36                                          this.fadeOut('slow', function() {                                          item.fadeOut('slow', function() {
37                                                  console.debug('remove',id);                                                  console.debug('remove',id);
38                                                  update_selection( -1 );                                                  item.remove();
39                                                  this.remove();                                                  var selected = update_selected( -1 );
40                                                    console.info('selected', selected);
41                                          });                                          });
42                                  });                                  });
43                          },                          },
# Line 81  function process(data) { Line 82  function process(data) {
82          } else if ( a[0] == 'removed' ) {          } else if ( a[0] == 'removed' ) {
83                  remove_tag( a[1] );                  remove_tag( a[1] );
84          } else {          } else {
85                  console.error( 'unknown', cmd, id );                  console.error( 'unknown', a );
86          }          }
87  };  };
88    

Legend:
Removed from v.83  
changed lines
  Added in v.84

  ViewVC Help
Powered by ViewVC 1.1.26