Textareas have the same id's - which causes TinyMCE problems

csc4 - March 14, 2008 - 18:46
Project:Annotate
Version:5.x-1.1
Component:Code
Category:bug report
Priority:normal
Assigned:clemens.tolboom
Status:closed
Description

The two text areas for the Personal note and the Editorial note have the same name which causes TinyMCE some confusion

<label for="edit-note">Notes: </label>
<textarea cols="60" rows="20" name="note" id="edit-note" class="form-textarea"></textarea>
<div class="description">Make your personal annotations about this content here. When marked private only you (and the site administrator) will be

<div><fieldset><legend>Editorial note</legend><div class="form-item">
<label for="edit-note">Note: </label>
<textarea cols="60" rows="20" name="note" id="edit-note" class="form-textarea"></textarea>
<div class="description">Edit the editorial note about this content here.</div>
</div>

Could they have unique names?

#1

clemens.tolboom - March 15, 2008 - 10:00
Title:Textareas have the same names - whcih causes TinyMCE problems» Textareas have the same id's - which causes TinyMCE problems
Assigned to:Anonymous» clemens.tolboom
Status:active» postponed (maintainer needs more info)

I changed the name of annotate_ed to 'ed_note'

I need to test this first with tinymce or you could test the dev version.

After testing I'll release a 5.x-1.1

Thanks for reporting.

#2

clemens.tolboom - April 5, 2008 - 07:48
Version:5.x-1.0» 5.x-1.1
Status:postponed (maintainer needs more info)» fixed

Not tested.

#3

Anonymous (not verified) - April 19, 2008 - 07:54
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.