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 ### Translate Easy!Appointments
As of version 1.0 Easy!Appointments supports translated user interface. If you want to contribute to the 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. page for additional information.

View file

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