"Menu" field type adds a new line, that then Create VS page shows empty line selected by default

Hi Jamie,

After your recommendation on http://virtualmin.com/node/33517 I've created a custom menu file, put there three items and made sure there is no any empty space or new line in the end (with vim which shows all the brakes and new lines). So now Edit Virtual Server shows everything correctly, the last item selected, however unfortunately Create Virtual Server page shows empty line in the end of menu selected by default. I am absolutely sure that empty line doesn't exist in the actual file, so I believe Virtualmin adds it at some point. Could you please take a look at the issue?

Thanks!

Status: 
Closed (fixed)

Comments

Thanks for pointing this out - I'll fix this in the next release.

Could you please update when the next release will be? Or can you point out what should we change manually for now to be able to select the first option automatically by default? Thanks!

I am doing release testing now, so it should be out in a week or less.

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