mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-09 17:42:21 +03:00
Merge branch 'athAtp-patch-2' into develop
# Conflicts: # docker-compose.prod.yml # docker-compose.yml
This commit is contained in:
commit
66cf2b8882
2 changed files with 5 additions and 2 deletions
|
@ -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.
|
||||||
|
|
|
@ -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();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue