|
@@ -127,7 +127,7 @@ function CheckMandatoryFields(sFormId)
|
|
$('#'+sFormId+' :input.mandatory').each( function() {
|
|
$('#'+sFormId+' :input.mandatory').each( function() {
|
|
if (( this.value == '') || (this.value == 0))
|
|
if (( this.value == '') || (this.value == 0))
|
|
{
|
|
{
|
|
- this.style.background = '#fcc';
|
|
|
|
|
|
+ this.style.backgroundColor = '#fcc';
|
|
iErrorsCount++;
|
|
iErrorsCount++;
|
|
if (iErrorsCount == 1)
|
|
if (iErrorsCount == 1)
|
|
{
|
|
{
|
|
@@ -136,7 +136,7 @@ function CheckMandatoryFields(sFormId)
|
|
}
|
|
}
|
|
else
|
|
else
|
|
{
|
|
{
|
|
- this.style.background = '#fff';
|
|
|
|
|
|
+ this.style.backgroundColor = '#fff';
|
|
}
|
|
}
|
|
}
|
|
}
|
|
);
|
|
);
|