mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-14 21:51:32 +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() {
|
$(document).ready(function() {
|
||||||
$("#form1").validate({
|
$("#form1").validate({
|
||||||
rules: {
|
|
||||||
comment: {
|
|
||||||
required: true
|
|
||||||
},
|
|
||||||
overrideStatus: {
|
|
||||||
required: true
|
|
||||||
},
|
|
||||||
},
|
|
||||||
messages: {
|
messages: {
|
||||||
comment: "<?php printMLText("js_no_comment");?>",
|
comment: "<?php printMLText("js_no_comment");?>",
|
||||||
overrideStatus: "<?php printMLText("js_no_override_status");?>",
|
overrideStatus: "<?php printMLText("js_no_override_status");?>",
|
||||||
|
@ -88,7 +80,7 @@ $(document).ready(function() {
|
||||||
array(
|
array(
|
||||||
'element'=>'textarea',
|
'element'=>'textarea',
|
||||||
'name'=>'comment',
|
'name'=>'comment',
|
||||||
'required'=>true,
|
'required'=>false,
|
||||||
'rows'=>4,
|
'rows'=>4,
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
@ -104,6 +96,7 @@ $(document).ready(function() {
|
||||||
'element'=>'select',
|
'element'=>'select',
|
||||||
'name'=>'overrideStatus',
|
'name'=>'overrideStatus',
|
||||||
'options'=>$options,
|
'options'=>$options,
|
||||||
|
'required'=>true,
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
$this->contentContainerEnd();
|
$this->contentContainerEnd();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user