Split the calendar view functionality into new module (#182).
This commit is contained in:
parent
0caff545a9
commit
a9edbda7a7
4 changed files with 1087 additions and 1015 deletions
|
@ -37,7 +37,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
BackendCalendar.initialize(true);
|
BackendCalendar.initialize(GlobalVariables.calendarView);
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
File diff suppressed because it is too large
Load diff
1037
src/assets/js/backend_calendar_default_view.js
Normal file
1037
src/assets/js/backend_calendar_default_view.js
Normal file
File diff suppressed because it is too large
Load diff
32
src/assets/js/backend_calendar_table_view.js
Normal file
32
src/assets/js/backend_calendar_table_view.js
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
/* ----------------------------------------------------------------------------
|
||||||
|
* Easy!Appointments - Open Source Web Scheduler
|
||||||
|
*
|
||||||
|
* @package EasyAppointments
|
||||||
|
* @author A.Tselegidis <alextselegidis@gmail.com>
|
||||||
|
* @copyright Copyright (c) 2013 - 2016, Alex Tselegidis
|
||||||
|
* @license http://opensource.org/licenses/GPL-3.0 - GPLv3
|
||||||
|
* @link http://easyappointments.org
|
||||||
|
* @since v1.2.0
|
||||||
|
* ---------------------------------------------------------------------------- */
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Backend Calendar
|
||||||
|
*
|
||||||
|
* This module implements the table calendar view of backend.
|
||||||
|
*
|
||||||
|
* @module BackendCalendarTableView
|
||||||
|
*/
|
||||||
|
window.BackendCalendarTableView = window.BackendCalendarTableView || {};
|
||||||
|
|
||||||
|
(function(exports) {
|
||||||
|
'use strict';
|
||||||
|
|
||||||
|
function _bindEventHandlers() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
exports.initialize = function() {
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
})(window.BackendCalendarTableView);
|
Loading…
Reference in a new issue