From 464b1125b61714e8c04eb82f8dbfb0acf1330d6b Mon Sep 17 00:00:00 2001 From: Alex Tselegidis Date: Tue, 11 Jan 2022 10:55:00 +0100 Subject: [PATCH] Remove unused backend_secretaries.js file. --- assets/js/pages/backend_secretaries.js | 130 ------------------------- 1 file changed, 130 deletions(-) delete mode 100644 assets/js/pages/backend_secretaries.js diff --git a/assets/js/pages/backend_secretaries.js b/assets/js/pages/backend_secretaries.js deleted file mode 100644 index f38ee35f..00000000 --- a/assets/js/pages/backend_secretaries.js +++ /dev/null @@ -1,130 +0,0 @@ -/* ---------------------------------------------------------------------------- - * Easy!Appointments - Open Source Web Scheduler - * - * @package EasyAppointments - * @author A.Tselegidis - * @copyright Copyright (c) Alex Tselegidis - * @license https://opensource.org/licenses/GPL-3.0 - GPLv3 - * @link https://easyappointments.org - * @since v1.0.0 - * ---------------------------------------------------------------------------- */ - -window.BackendSecretaries = window.BackendSecretaries || {}; - -/** - * Backend Users - * - * This module handles the js functionality of the users backend page. It uses three other - * classes (defined below) in order to handle the admin, provider and secretary record types. - * - * @module BackendSecretaries - */ -(function (exports) { - 'use strict'; - - /** - * Minimum Password Length - * - * @type {Number} - */ - exports.MIN_PASSWORD_LENGTH = 7; - - /** - * Contains the current tab record methods for the page. - * - * @type {SecretariesHelper} - */ - var helper = {}; - - /** - * Initialize the backend users page. - * - * @param {Boolean} defaultEventHandlers (OPTIONAL) Whether to bind the default event handlers. - */ - exports.initialize = function (defaultEventHandlers) { - defaultEventHandlers = defaultEventHandlers || true; - - // Instantiate default helper object. - helper = new SecretariesHelper(); - helper.resetForm(); - helper.filter(''); - helper.bindEventHandlers(); - - GlobalVariables.providers.forEach(function (provider) { - $('
', { - 'class': 'checkbox', - 'html': [ - $('
', { - 'class': 'checkbox form-check', - 'html': [ - $('', { - 'class': 'form-check-input', - 'type': 'checkbox', - 'data-id': provider.id - }), - $('