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

Already on GitHub? Sign in to your account

Not unique id's break things #647

TiGR opened this Issue Nov 15, 2010 · 0 comments


None yet
2 participants

TiGR commented Nov 15, 2010

"Form_Body" is an id for textarea comment form. The problem is, when you click "edit" button and inline edit element appears, it also has id="Form_Body". This makes some plugins go crazy, I am currently writing TinyMCE editor plugin with a lot of integration work, and TinyMCE just loses synchronization with original edit field as soon as new one appears.

I could hack into the code and try to add some hacks to avoid this, but wouldn't avoiding non-unique id's be a better solution? BTW, it also affects ReplyTo plugin, as it uses the same form engine.

Creating inline edit form introduces a lot of non-unique id elements: #Form_Comment, #Form_Transient, #Form_hpt, #Form_DiscussionID, #Form_CommentID, #Form_DraftID, #Form_Body, #Form_SaveComment etc...

@linc linc closed this Aug 3, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment