Download & Extend

When the list of current tags doesn't end with a comma, the new tag is jammed into the previous one

Project:TagTool
Version:6.x-1.0
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:reviewed & tested by the community

Issue Summary

Hi,
There are situations where the current tag list doesn't end with a comma.
Since tagtool doesn't add a comma before the new tag, choosing a tag from the tagtool dropdown jams the new tag into the previous tag.
This is especially apparent when editing an existing post and adding tags.

I believe that if autocomplete is launched, everything is fine (autocomplete replaces the last tag with the new selected tag).

Attached is a small patch for the JavaScript that checks if the current list ends with comma, and adds one if it doesn't.

AttachmentSize
tagtool_js_patch.txt875 bytes

Comments

#1

Status:needs review» reviewed & tested by the community

thx.. works like a charm...

nobody click here