From 5b2fcdbee6a57bf3a7c158107e494d32bea9eb74 Mon Sep 17 00:00:00 2001 From: Alex Tselegidis Date: Sun, 24 Jul 2016 15:10:48 +0200 Subject: [PATCH] Corrected popover title for table view. --- src/assets/js/backend_calendar_table_view.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/assets/js/backend_calendar_table_view.js b/src/assets/js/backend_calendar_table_view.js index 9260e643..a95f63da 100644 --- a/src/assets/js/backend_calendar_table_view.js +++ b/src/assets/js/backend_calendar_table_view.js @@ -149,7 +149,7 @@ window.BackendCalendarTableView = window.BackendCalendarTableView || {}; ''; } - var title = entry.is_unavailable ? EALang['unavailable'] : entry.service.name + ' - ' + var title = entry.is_unavailable !== '0' ? EALang['unavailable'] : entry.service.name + ' - ' + entry.customer.first_name + ' ' + entry.customer.last_name; $(event.target).popover({ @@ -803,7 +803,7 @@ window.BackendCalendarTableView = window.BackendCalendarTableView || {}; // Auto-reload the results every one minute. var interval = setInterval(function() { - $('#reload-appointments').trigger('click'); + // $('#reload-appointments').trigger('click'); }, 15000); };