mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-22 07:52:29 +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
|
||||
|
||||
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.
|
||||
|
|
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in a new issue