Change style of 'Please fill title and file to attach a new file' message. Fixes

- Legacy-Id: 2570
This commit is contained in:
Emilio A. Sánchez López 2010-10-22 12:26:51 +00:00
parent bdfde8e88d
commit de72df1d8f
2 changed files with 12 additions and 2 deletions

View file

@ -71,6 +71,16 @@
height: 300px;
}
.baseform input.disabledAddAttachment {
border: none;
padding: none;
background: none;
padding: 0px;
margin: 0px;
color: black;
font-weight: bold;
}
span.fieldRequired {
color: red;
}

View file

@ -35,10 +35,10 @@
}
});
if (enabled) {
button.removeAttr('disabled');
button.removeAttr('disabled').removeClass('disabledAddAttachment');
button.val(config.enabledLabel);
} else {
button.attr('disabled', 'disabled');
button.attr('disabled', 'disabled').addClass('disabledAddAttachment');
button.val(config.disabledLabel);
}
};