Details
-
Bug
-
Resolution: Fixed
-
Medium
-
4.3.0beta2
-
None
Description
Hi,
some html errors in the add_comment.tpl
<input type="hidden" name="RedirectURI" value={$redirect_uri} />
should be
<input type="hidden" name="RedirectURI" value={$redirect_uri|ezurl} />
otherwise you have a wrong url and no quotes...
===
<textarea id="ezcomments_comment_view_addcomment_content" class="box" name="CommentContent"></textarea>
-> missing cols attribute (required!), missing rows attribute
====
<input type="text" maxlength="100" class="box" id="ezcomments_comment_view_addcomment_email" disabled="true" />
should be
<input type="text" maxlength="100" class="box" id="ezcomments_comment_view_addcomment_email" disabled="disabled" />
====
<input type="checkbox" id="ezcom_field_notified" name="CommentNotified" checked="checked" />
Warning in line 433 at character 26: An "input" element with type="checkbox" should normally use both the "name" and "value" attributes even though this is not technically required by the HTML/XHTML specification.
====
eZComments.cfg = { postbutton: '#ezcom-post-button',
postform: '#ezcom-comment-form',
postlist: '#ezcom-comment-list',
postcontainer: '#ezcom-comment-list',
sessionprefix: 'eZSESSID',
sortorder: 'desc',
fields:
}
eZComments.init();
-> missing semicolon
====
Best wishes,
Georg.