integration/v2/js/main.js
changeset 226 d602d53379e7
parent 219 6667fb5455d0
equal deleted inserted replaced
225:5313fc069b1b 226:d602d53379e7
    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