FIXED: SelectTagAction doesn't work sometimes...

Report issues, odd behaviors or submit a detailed bug report.
Post Reply
crtrubshaw
Posts: 350
Joined: 06 Jun 2012 11:08

FIXED: SelectTagAction doesn't work sometimes...

Post by crtrubshaw »

Hi Rickard, sometimes this function doesn't select the tag block when I'm on the start tag, weirdly it does work if I'm on the end tag.

Try select the <select> tag below in TextEd...

Code: Select all

<select id="view" name="view" onchange="changeView(this[this.selectedIndex].value);">
	<option value="Day"<?= isSelected($view == 'Day') ?> />Day</option>
	<option value="WorkWeek"<?= isSelected($view == 'WorkWeek') ?> />Work Week</option>
	<option value="Week"<?= isSelected($view == 'Week') ?> />Week</option>
	<option value="Month"<?= isSelected($view == 'Month') ?> />Month</option>
	<option value="Resources"<?= isSelected($view == 'Resources') ?> />Resources</option>
</select>
User avatar
Rickard Johansson
Site Admin
Posts: 6783
Joined: 19 Jul 2006 14:29

Re: SelectTagAction doesn't work sometimes...

Post by Rickard Johansson »

Fixed in next release (v16.31). Thanks!

BTW. I don't think constructs like

Code: Select all

<option .../></option>
are valid. It should be

Code: Select all

<option ...></option>
crtrubshaw
Posts: 350
Joined: 06 Jun 2012 11:08

Re: FIXED: SelectTagAction doesn't work sometimes...

Post by crtrubshaw »

Cheers Rickard, thanks for pointing that out :-D
Post Reply