equal
deleted
inserted
replaced
40 var keywordsTagIt = $('.tag-it').tagit({ |
40 var keywordsTagIt = $('.tag-it').tagit({ |
41 allowSpaces : true |
41 allowSpaces : true |
42 }); |
42 }); |
43 $('.list-key-add a').bind('click', function(e){ |
43 $('.list-key-add a').bind('click', function(e){ |
44 e.preventDefault(); |
44 e.preventDefault(); |
45 var tag = $(this).attr('data-tag'); |
45 keywordsTagIt.tagit("createTag", $(this).attr('data-tag')); |
46 keywordsTagIt.tagit("createTag", tag); |
|
47 }); |
46 }); |
48 } |
47 } |
49 |
48 |
50 |
49 |
51 |
50 |