mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-12-22 14:42:23 +03:00
Corrected method name typo
This commit is contained in:
parent
45c8a82d3f
commit
5e0ef2acc1
4 changed files with 4 additions and 3 deletions
|
@ -97,7 +97,7 @@ window.BackendCalendarApi = window.BackendCalendarApi || {};
|
|||
* @param {Function} successCallback The ajax success callback function.
|
||||
* @param {Function} errorCallback The ajax failure callback function.
|
||||
*/
|
||||
exports.saveCustomavailabilityperiod = function (customAvailabilityPeriods, successCallback, errorCallback) {
|
||||
exports.saveCustomAvailabilityPeriod = function (customAvailabilityPeriods, successCallback, errorCallback) {
|
||||
var url = GlobalVariables.baseUrl + '/index.php/backend_api/ajax_save_custom_availability_period';
|
||||
|
||||
var data = {
|
||||
|
|
|
@ -199,6 +199,7 @@ window.BackendUsers = window.BackendUsers || {};
|
|||
helper.filter('');
|
||||
helper.bindEventHandlers();
|
||||
$('.filter-key').val('');
|
||||
Backend.placeFooterToBottom();
|
||||
});
|
||||
|
||||
/**
|
||||
|
|
|
@ -154,7 +154,7 @@
|
|||
settings: {
|
||||
username: $('#provider-username').val(),
|
||||
working_plan: JSON.stringify(BackendUsers.wp.get()),
|
||||
custom_availability_periods: JSON.stringify(BackendUsers.wp.getCustomavailabilityperiods()),
|
||||
custom_availability_periods: JSON.stringify(BackendUsers.wp.getCustomAvailabilityPeriods()),
|
||||
notifications: $('#provider-notifications').prop('checked'),
|
||||
calendar_view: $('#provider-calendar-view').val()
|
||||
}
|
||||
|
|
|
@ -810,7 +810,7 @@
|
|||
*
|
||||
* @return {Object} Returns the custom availability periods settings object.
|
||||
*/
|
||||
WorkingPlan.prototype.getCustomavailabilityperiods = function () {
|
||||
WorkingPlan.prototype.getCustomAvailabilityPeriods = function () {
|
||||
var customAvailabilityPeriods = {};
|
||||
$('.custom-availability-periods tbody tr').each(function (index, tr) {
|
||||
|
||||
|
|
Loading…
Reference in a new issue