Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fix] error when adding tags with keyboard. Fixes #4394 #4398

Closed
wants to merge 1 commit into from
Closed

[fix] error when adding tags with keyboard. Fixes #4394 #4398

wants to merge 1 commit into from

Conversation

phproberto
Copy link
Contributor

This fixes the issue described in:
#4394

This was introduced in: 88ed53e#diff-0fe9e3814af6ea886d29a21726738a2aR166

Apparently minTermLength fix from @davidhurley's didn't include a default value for the setting. So it was using 0 as minimum length (until you save the com_params config). I added an extra this.value check to be sure that an empty tag is never going to be added even if someone manages to use 0 as minTermLength (which should not be possible because the minimum in config is 1).

@roland-d
Copy link
Contributor

@test: After applying the patch, I can save the article after adding a tag using Enter.

@mbabker mbabker closed this Sep 30, 2014
@mbabker
Copy link
Contributor

mbabker commented Sep 30, 2014

Fixed via 9da927e

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants