/[jquery]/tag_complete/jquery-tac.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 /tag_complete/jquery-tac.js

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

revision 56 by dpavlin, Sun Aug 20 17:10:26 2006 UTC revision 57 by dpavlin, Sun Aug 20 17:25:13 2006 UTC
# Line 132  tac.prototype.suggest = function( partia Line 132  tac.prototype.suggest = function( partia
132                  var t = this.firstChild.nodeValue;                  var t = this.firstChild.nodeValue;
133                  $.log.debug('click add: '+ t);                  $.log.debug('click add: '+ t);
134                  obj.clean_suggested();                  obj.clean_suggested();
135                  obj.tag( t );                  obj.add_tag( t );
136          });          });
137          this.current_suggested = 0;          this.current_suggested = 0;
138          $.log.info('suggested ' + this.suggested.length + ' tags');          $.log.info('suggested ' + this.suggested.length + ' tags');
# Line 244  tac.prototype.remove_tag = function( t ) Line 244  tac.prototype.remove_tag = function( t )
244    
245          this.clean_suggested();          this.clean_suggested();
246    
247          var tags = this.entered.ordered.join(' ')+' ';          var tags = this.entered.ordered.join(' ');
248            if (tags.length) tags += ' ';
249          $.log.debug('removed '+o+' left: '+tags);          $.log.debug('removed '+o+' left: '+tags);
250          $(this.tags_input).val( tags );          $(this.tags_input).val( tags );
251          return false;          return false;

Legend:
Removed from v.56  
changed lines
  Added in v.57

  ViewVC Help
Powered by ViewVC 1.1.26