mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-25 17:33:19 +03:00
Corrected the class that needed to be removed from the sync-button after the user disables the syncing.
This commit is contained in:
parent
77d7d02ea2
commit
d3e86800b5
1 changed files with 2 additions and 2 deletions
|
@ -291,7 +291,7 @@ var BackendCalendar = {
|
|||
$('#enable-sync span:eq(1)').text(EALang['disable_sync']);
|
||||
$('#google-sync').prop('disabled', false);
|
||||
} else {
|
||||
$('#enable-sync').removeClass('btn-success enabled');
|
||||
$('#enable-sync').removeClass('btn-danger enabled');
|
||||
$('#enable-sync span:eq(1)').text(EALang['enable_sync']);
|
||||
$('#google-sync').prop('disabled', true);
|
||||
}
|
||||
|
@ -776,7 +776,7 @@ var BackendCalendar = {
|
|||
|
||||
BackendCalendar.disableProviderSync(provider['id']);
|
||||
|
||||
$('#enable-sync').removeClass('btn-success enabled');
|
||||
$('#enable-sync').removeClass('btn-danger enabled');
|
||||
$('#enable-sync span:eq(1)').text(EALang['enable_sync']);
|
||||
$('#google-sync').prop('disabled', true);
|
||||
$('#select-filter-item option:selected').attr('google-sync', 'false');
|
||||
|
|
Loading…
Reference in a new issue