Cosmetic: improved the feedback when an attribute edition control is being refreshed in the console

SVN:trunk[3995]
This commit is contained in:
Romain Quetiez
2016-04-11 19:02:54 +00:00
parent 25287a8c04
commit 2d05b110b8

View File

@@ -209,9 +209,14 @@ function WizardHelper(sClass, sFormPrefix, sState)
{
sAttCode = aFieldNames[index];
sFieldId = this.GetFieldId(sAttCode);
$('#fstatus_'+sFieldId).html('<img src="../images/indicator.gif" />');
$('#field_'+sFieldId).closest('td').block({message:''});
this.RequestAllowedValues(sAttCode);
if (sFieldId !== undefined) {
$('#fstatus_' + sFieldId).html('<img src="../images/indicator.gif" />');
$('#field_' + sFieldId).find('div').block({
message: '',
overlayCSS: {backgroundColor: '#f1f1f1', opacity: 0.3}
});
this.RequestAllowedValues(sAttCode);
}
index++;
}
this.AjaxQueryServer();