Permalink
Browse files

feature(views): comments form value is now html5 required

  • Loading branch information...
jdalsem committed Jun 30, 2015
1 parent f8c505c commit ba9f43011ca6306a904adb5e87e5865eb15a18db
Showing with 2 additions and 0 deletions.
  1. +2 −0 views/default/forms/comment/save.php
@@ -59,6 +59,7 @@
$comment_input = elgg_view('input/text', array(
'name' => 'generic_comment',
'value' => $comment_text,
'required' => true
));
echo $comment_input . $entity_guid_input . $comment_guid_input . $submit_input;
@@ -67,6 +68,7 @@
$comment_input = elgg_view('input/longtext', array(
'name' => 'generic_comment',
'value' => $comment_text,
'required' => true
));
$is_edit_page_input = elgg_view('input/hidden', array(

0 comments on commit ba9f430

Please sign in to comment.