integration/v2/js/main.js
changeset 128 5ce3313fb21d
parent 119 9d2a4916ee7a
child 131 f7f6c6acf9b9
equal deleted inserted replaced
125:211680696ab7 128:5ce3313fb21d
    24 	});
    24 	});
    25 
    25 
    26 	$('.popin').bind('click', function(e){
    26 	$('.popin').bind('click', function(e){
    27 		e.stopPropagation();
    27 		e.stopPropagation();
    28 	});
    28 	});
    29 
    29 //tag it
       
    30 	var keywordsTagIt = $('.tag-it').tagit({
       
    31 		allowSpaces : true
       
    32 	});
       
    33 	$('.list-key-add a').bind('click', function(e){
       
    34 		e.preventDefault();
       
    35 		var tag = $(this).attr('data-tag');
       
    36 		keywordsTagIt.tagit("createTag", tag);
       
    37 	});
       
    38 	
       
    39 	
    30 });//ready
    40 });//ready