Hi, if the vocabulary is empty and the term field is required, the "new term" form is not visible because the only value on the select box is "" so the js is not triggered.

Comments

Status:Active» Needs work

Will have a look at it ...

Version:7.x-1.5» 7.x-1.x-dev
Status:Needs work» Needs review

Hey, that was a funny one ;)
I've committed two small changes that implement the following behavior:

* condition:
  - vocabulary is empty
  - field is not required
* behavior:
  - field is displayed showing the options - None - and <Add new item>
* condition:
  - vocabulary is empty
  - field is required
* behavior:
  - field is displayed directly showing the form to add a new term without the ability to cancel the input

You can test the functionality using the latest code from git or wait some hours for the next development release (current is 7.x-1.5+8-dev, February 25, 2013 - 13:37).

Thanks for finding this bug.

Status:Needs review» Fixed

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.