Commit 1dbfb6c7 authored by Patrick O'Keeffe's avatar Patrick O'Keeffe
Browse files

patch for required send message options (bug 1399063)

Change-Id: Ibad76d6ddafe7a7f78f075679acb3d115beaf5ba
parent bc592eb7
......@@ -182,6 +182,7 @@ $form = pieform(array(
'multiple' => true,
'ajaxextraparams' => array(),
'width' => '400px',
'rules' => array('required' => true),
),
'subject' => array(
'title' => get_string('titlesubject', 'artefact.multirecipientnotification'),
......@@ -189,13 +190,14 @@ $form = pieform(array(
'name' => 'subject',
'size' => '80',
'defaultvalue' => $subject,
'rules' => array('required' => true),
),
'message' => array(
'type' => 'textarea',
'title' => $messages ? get_string('Reply', 'group') : get_string('message'),
'cols' => 80,
'rows' => 10,
'rules' => array('maxlength' => 65536),
'rules' => array('maxlength' => 65536, 'required' => true),
),
'goto' => array(
'type' => 'hidden',
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment