Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi I found a bug today with autotag that is easy to fix. This exists in version 2.0.1
If you open a document and remove a tag (tag removed) and then hit save and publish the tag is there again when the page comes back from postback.
I traced the error to the remove method in the javascript that is run when you click on the X on the tag.
$('div.tags ul li span').live('click', function () { $(this).parent().fadeOut(300, function () { $(this).remove(); }); serialiseTags(); });
The problem with it is that the tags get serialised again while the remove is still animating so the tag is still in the tag list in the background.
To fix this all you need to do is move the serialiseTags(); call into the callback function of the click.
$('div.tags ul li span').live('click', function () { $(this).parent().fadeOut(300, function () { $(this).remove(); serialiseTags();}); });
Hope that helps anyone with the same issues.
Peter
Thanks for this Peter. I'll get it into a release as soon as possible
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Removing a tag and saving and publishing does not remove tag.
Hi I found a bug today with autotag that is easy to fix. This exists in version 2.0.1
If you open a document and remove a tag (tag removed) and then hit save and publish the tag is there again when the page comes back from postback.
I traced the error to the remove method in the javascript that is run when you click on the X on the tag.
The problem with it is that the tags get serialised again while the remove is still animating so the tag is still in the tag list in the background.
To fix this all you need to do is move the serialiseTags(); call into the callback function of the click.
Hope that helps anyone with the same issues.
Peter
Thanks for this Peter. I'll get it into a release as soon as possible
is working on a reply...