Changeset 27209
- Timestamp:
- 01/26/10 20:26:25 (3 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
plugins/pkBlogPlugin/trunk/modules/pkBlogEventAdmin/templates/_tagList.php
r24301 r27209 13 13 $(document).ready(function(){ 14 14 15 var tagList; 15 var tagList = $('#pk_blog_event_tags').attr('value'); 16 console.log(tagList); 16 17 var recommendedTag = $('.recommended-tag'); 17 18 18 19 recommendedTag.click(function(){ 19 20 20 tagList = $('#pk_blog_ post_tags').attr('value');21 tagList = $('#pk_blog_event_tags').attr('value'); 21 22 theTag = $(this).text(); 22 23 … … 24 25 { //Only add it if it hasn't been added already 25 26 tagList += ", "+theTag; 26 $('#pk_blog_ post_tags').attr('value',tagList);27 $('#pk_blog_event_tags').attr('value',tagList); 27 28 } 28 29 else … … 37 38 38 39 newTagList.splice(tagPosition,1); 39 $('#pk_blog_ post_tags').attr('value',newTagList.toString());40 $('#pk_blog_event_tags').attr('value',newTagList.toString()); 40 41 } 41 42