Permalink
Browse files

fix typo

  • Loading branch information...
1 parent 0660bf7 commit 3c75eadb9d89b0f8bdb599fae65505e6966b1192 Christophe Verbinnen committed Jan 14, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 demo/6.html
View
@@ -24,10 +24,10 @@ <h1>jTag plugin Basic demo</h1>
</p>
<div>
<pre>$("#img1").tag({
- save: function(width,height,top_pos,left,label,tag){
+ save: function(width,height,top_pos,left,label,the_tag){
alert('I can save this tag ('+width+','+height+','+top_pos+','+left+','+label+')');
/* once the ajax is done I need to get the ID here and then set it on the tag */
- tag.setId('someIdFromMyDb');
+ the_tag.setId('someIdFromMyDb');
},
remove: function(id){
alert('Here I can do some ajax to delete tag #'+id+' in my db');

0 comments on commit 3c75ead

Please sign in to comment.