mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-22 07:52:29 +03:00
Fix: reset has-error class on resetForm() function.
This commit is contained in:
parent
16c18f9b99
commit
e5fc1d427f
4 changed files with 8 additions and 0 deletions
|
@ -309,6 +309,8 @@
|
||||||
$('#categories .record-details').find('input, textarea').prop('readonly', true);
|
$('#categories .record-details').find('input, textarea').prop('readonly', true);
|
||||||
$('#edit-category, #delete-category').prop('disabled', true);
|
$('#edit-category, #delete-category').prop('disabled', true);
|
||||||
|
|
||||||
|
$('.record-details .has-error').removeClass('has-error');
|
||||||
|
|
||||||
$('#filter-categories .selected').removeClass('selected');
|
$('#filter-categories .selected').removeClass('selected');
|
||||||
$('#filter-categories .results').css('color', '');
|
$('#filter-categories .results').css('color', '');
|
||||||
$('#filter-categories button').prop('disabled', false);
|
$('#filter-categories button').prop('disabled', false);
|
||||||
|
|
|
@ -277,6 +277,8 @@
|
||||||
$('#services .record-details').find('input, textarea').prop('readonly', true);
|
$('#services .record-details').find('input, textarea').prop('readonly', true);
|
||||||
$('#services .record-details').find('select').prop('disabled', true);
|
$('#services .record-details').find('select').prop('disabled', true);
|
||||||
|
|
||||||
|
$('.record-details .has-error').removeClass('has-error');
|
||||||
|
|
||||||
$('#filter-services .selected').removeClass('selected');
|
$('#filter-services .selected').removeClass('selected');
|
||||||
$('#filter-services button').prop('disabled', false);
|
$('#filter-services button').prop('disabled', false);
|
||||||
$('#filter-services .results').css('color', '');
|
$('#filter-services .results').css('color', '');
|
||||||
|
|
|
@ -300,6 +300,8 @@
|
||||||
$('#admin-notifications').removeClass('active');
|
$('#admin-notifications').removeClass('active');
|
||||||
$('#edit-admin, #delete-admin').prop('disabled', true);
|
$('#edit-admin, #delete-admin').prop('disabled', true);
|
||||||
|
|
||||||
|
$('#admins .has-error').removeClass('has-error');
|
||||||
|
|
||||||
$('#filter-admins .selected').removeClass('selected');
|
$('#filter-admins .selected').removeClass('selected');
|
||||||
$('#filter-admins button').prop('disabled', false);
|
$('#filter-admins button').prop('disabled', false);
|
||||||
$('#filter-admins .results').css('color', '');
|
$('#filter-admins .results').css('color', '');
|
||||||
|
|
|
@ -360,6 +360,8 @@
|
||||||
$('.breaks').find('.edit-break, .delete-break').prop('disabled', true);
|
$('.breaks').find('.edit-break, .delete-break').prop('disabled', true);
|
||||||
$('.extra-periods').find('.edit-extra, .delete-extra').prop('disabled', true);
|
$('.extra-periods').find('.edit-extra, .delete-extra').prop('disabled', true);
|
||||||
|
|
||||||
|
$('#providers .has-error').removeClass('has-error');
|
||||||
|
|
||||||
$('#edit-provider, #delete-provider').prop('disabled', true);
|
$('#edit-provider, #delete-provider').prop('disabled', true);
|
||||||
$('#providers .record-details').find('input, textarea').val('');
|
$('#providers .record-details').find('input, textarea').val('');
|
||||||
$('#provider-services input:checkbox').prop('checked', false);
|
$('#provider-services input:checkbox').prop('checked', false);
|
||||||
|
|
Loading…
Reference in a new issue