mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-25 17:33:19 +03:00
fix calendar popover buttons
This commit is contained in:
parent
1e855182bd
commit
32b5742bd0
2 changed files with 6 additions and 10 deletions
|
@ -67,8 +67,6 @@ window.BackendCalendarDefaultView = window.BackendCalendarDefaultView || {};
|
|||
|
||||
var $dialog;
|
||||
|
||||
console.log(lastFocusedEventData.data)
|
||||
|
||||
if (lastFocusedEventData.data.is_unavailable === '0') {
|
||||
var appointment = lastFocusedEventData.data;
|
||||
$dialog = $('#manage-appointment');
|
||||
|
@ -329,7 +327,7 @@ window.BackendCalendarDefaultView = window.BackendCalendarDefaultView || {};
|
|||
$('<hr/>'),
|
||||
|
||||
$('<div/>', {
|
||||
'class': 'text-center',
|
||||
'class': 'd-flex justify-content-between',
|
||||
'html': [
|
||||
$('<button/>', {
|
||||
'class': 'edit-popover btn btn-primary ' + displayEdit,
|
||||
|
@ -397,7 +395,7 @@ window.BackendCalendarDefaultView = window.BackendCalendarDefaultView || {};
|
|||
$('<hr/>'),
|
||||
|
||||
$('<div/>', {
|
||||
'class': 'text-center',
|
||||
'class': 'd-flex justify-content-between',
|
||||
'html': [
|
||||
$('<button/>', {
|
||||
'class': 'delete-popover btn btn-danger ' + displayDelete,
|
||||
|
@ -490,7 +488,7 @@ window.BackendCalendarDefaultView = window.BackendCalendarDefaultView || {};
|
|||
$('<hr/>'),
|
||||
|
||||
$('<div/>', {
|
||||
'class': 'text-center',
|
||||
'class': 'd-flex justify-content-between',
|
||||
'html': [
|
||||
$('<button/>', {
|
||||
'class': 'edit-popover btn btn-primary ' + displayEdit,
|
||||
|
@ -696,8 +694,6 @@ window.BackendCalendarDefaultView = window.BackendCalendarDefaultView || {};
|
|||
$('#notification').hide('bind');
|
||||
}
|
||||
|
||||
console.log(event.data)
|
||||
|
||||
if (event.data.is_unavailable === '0') {
|
||||
// Prepare appointment data.
|
||||
var appointment = GeneralFunctions.clone(event.data);
|
||||
|
|
|
@ -1054,7 +1054,7 @@ window.BackendCalendarTableView = window.BackendCalendarTableView || {};
|
|||
$('<hr/>'),
|
||||
|
||||
$('<div/>', {
|
||||
'class': 'text-center',
|
||||
'class': 'd-flex justify-content-between',
|
||||
'html': [
|
||||
$('<button/>', {
|
||||
'class': 'edit-popover btn btn-primary ' + displayEdit,
|
||||
|
@ -1122,7 +1122,7 @@ window.BackendCalendarTableView = window.BackendCalendarTableView || {};
|
|||
$('<hr/>'),
|
||||
|
||||
$('<div/>', {
|
||||
'class': 'text-center',
|
||||
'class': 'd-flex justify-content-between',
|
||||
'html': [
|
||||
$('<button/>', {
|
||||
'class': 'delete-popover btn btn-danger ' + displayDelete,
|
||||
|
@ -1215,7 +1215,7 @@ window.BackendCalendarTableView = window.BackendCalendarTableView || {};
|
|||
$('<hr/>'),
|
||||
|
||||
$('<div/>', {
|
||||
'class': 'text-center',
|
||||
'class': 'd-flex justify-content-between',
|
||||
'html': [
|
||||
$('<button/>', {
|
||||
'class': 'edit-popover btn btn-primary ' + displayEdit,
|
||||
|
|
Loading…
Reference in a new issue