Fixing style errors.
This commit is contained in:
parent
0396573b91
commit
252765303e
@ -679,8 +679,8 @@ if (!empty($usemargins) && $user->rights->margins->creer) {
|
|||||||
<?php if ($this->table_element_line != 'commande_fournisseurdet' || $this->table_element_line == 'facture_fourn_det') { ?>
|
<?php if ($this->table_element_line != 'commande_fournisseurdet' || $this->table_element_line == 'facture_fourn_det') { ?>
|
||||||
$("#date_start, #date_end").focusout(function()
|
$("#date_start, #date_end").focusout(function()
|
||||||
{
|
{
|
||||||
let type = $(this).attr('type');
|
let type = $(this).attr('type');
|
||||||
let mandatoryP = $(this).attr('mandatoryperiod');
|
let mandatoryP = $(this).attr('mandatoryperiod');
|
||||||
if (type == 1 && mandatoryP == 1 ){
|
if (type == 1 && mandatoryP == 1 ){
|
||||||
if ( $(this).val() == '' && !$(this).hasClass("error") ) {
|
if ( $(this).val() == '' && !$(this).hasClass("error") ) {
|
||||||
$(this).addClass('error');
|
$(this).addClass('error');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user