mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 07:22:11 +00:00
comment is no longer required
This commit is contained in:
parent
60696ac079
commit
b77609d375
|
@ -37,14 +37,6 @@ class SeedDMS_View_OverrideContentStatus extends SeedDMS_Theme_Style {
|
|||
?>
|
||||
$(document).ready(function() {
|
||||
$("#form1").validate({
|
||||
rules: {
|
||||
comment: {
|
||||
required: true
|
||||
},
|
||||
overrideStatus: {
|
||||
required: true
|
||||
},
|
||||
},
|
||||
messages: {
|
||||
comment: "<?php printMLText("js_no_comment");?>",
|
||||
overrideStatus: "<?php printMLText("js_no_override_status");?>",
|
||||
|
@ -88,7 +80,7 @@ $(document).ready(function() {
|
|||
array(
|
||||
'element'=>'textarea',
|
||||
'name'=>'comment',
|
||||
'required'=>true,
|
||||
'required'=>false,
|
||||
'rows'=>4,
|
||||
)
|
||||
);
|
||||
|
@ -104,6 +96,7 @@ $(document).ready(function() {
|
|||
'element'=>'select',
|
||||
'name'=>'overrideStatus',
|
||||
'options'=>$options,
|
||||
'required'=>true,
|
||||
)
|
||||
);
|
||||
$this->contentContainerEnd();
|
||||
|
|
Loading…
Reference in New Issue
Block a user