Merge branch 'athAtp-patch-2' into develop

# Conflicts:
#	docker-compose.prod.yml
#	docker-compose.yml
This commit is contained in:
Alex Tselegidis 2020-03-09 21:59:10 +01:00
commit 66cf2b8882
2 changed files with 5 additions and 2 deletions

View File

@ -80,5 +80,5 @@ bug reports.
### Translate Easy!Appointments
As of version 1.0 Easy!Appointments supports translated user interface. If you want to contribute to the
translation process read the [get involved](https://github.com/alextselegidis/easyappointments/wiki/Get-Involved!)
translation process read the [get involved](https://github.com/alextselegidis/easyappointments/blob/master/doc/get-involved.md)
page for additional information.

View File

@ -71,7 +71,9 @@ $(function () {
*/
function validate() {
try {
$alert.hide();
$alert
.removeClass('alert-danger')
.hide();
$('input').closest('.form-group').removeClass('has-error');
// Check for empty fields.
@ -114,6 +116,7 @@ $(function () {
return true;
} catch (error) {
$alert
.addClass('alert-danger')
.text(error)
.show();