From def2668ede9b33ff24ad1cc591f3bfb15b947479 Mon Sep 17 00:00:00 2001 From: Alex Tselegidis Date: Thu, 6 Jan 2022 09:52:52 +0100 Subject: [PATCH] Removed the backend_customers.js file as it is no longer needed --- assets/js/pages/backend_customers.js | 65 ---------------------------- 1 file changed, 65 deletions(-) delete mode 100644 assets/js/pages/backend_customers.js diff --git a/assets/js/pages/backend_customers.js b/assets/js/pages/backend_customers.js deleted file mode 100644 index 5c260799..00000000 --- a/assets/js/pages/backend_customers.js +++ /dev/null @@ -1,65 +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.BackendCustomers = window.BackendCustomers || {}; - -/** - * Backend Customers - * - * Backend Customers javascript namespace. Contains the main functionality of the backend customers - * page. If you need to use this namespace in a different page, do not bind the default event handlers - * during initialization. - * - * @module BackendCustomers - */ -(function (exports) { - 'use strict'; - - /** - * The page helper contains methods that implement each record type functionality - * (for now there is only the CustomersHelper). - * - * @type {Object} - */ - var helper = {}; - - /** - * This method initializes the backend customers page. If you use this namespace - * in a different page do not use this method. - * - * @param {Boolean} defaultEventHandlers Optional (false), whether to bind the default - * event handlers or not. - */ - exports.initialize = function (defaultEventHandlers) { - defaultEventHandlers = defaultEventHandlers || false; - - // Add the available languages to the language dropdown. - availableLanguages.forEach(function (language) { - $('#language').append(new Option(language, language)); - }); - - helper = new CustomersHelper(); - helper.resetForm(); - helper.filter(''); - helper.bindEventHandlers(); - - if (defaultEventHandlers) { - bindEventHandlers(); - } - }; - - /** - * Default event handlers declaration for backend customers page. - */ - function bindEventHandlers() { - // - } -})(window.BackendCustomers);