Change style of 'Please fill title and file to attach a new file' message. Fixes #432
- Legacy-Id: 2570
This commit is contained in:
parent
bdfde8e88d
commit
de72df1d8f
static
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue