@license dhtmlxScheduler v.7.2.14 Standard To use dhtmlxScheduler in non-GPL projects (and get Pro version of the product), please obtain Commercial/Enterprise or Ultimate license on our site https://dhtmlx.com/docs/products/dhtmlxScheduler/#licensing or contact us at sales@dhtmlx.com (c) XB Soft
()
| 12 | */ |
| 13 | |
| 14 | function dhtmlxHook() { |
| 15 | if (typeof dhtmlx != "undefined" && dhtmlx.attaches) { |
| 16 | dhtmlx.attaches.attachScheduler = function(day, mode, tabs, scheduler2) { |
| 17 | var tabs = tabs || '<div class="dhx_cal_tab" name="day_tab" data-tab="day" style="right:204px;"></div><div class="dhx_cal_tab" name="week_tab" data-tab="week" style="right:140px;"></div><div class="dhx_cal_tab" name="month_tab" data-tab="month" style="right:76px;"></div>'; |
| 18 | var obj = document.createElement("DIV"); |
| 19 | obj.id = "dhxSchedObj_" + this._genStr(12); |
| 20 | obj.innerHTML = '<div id="' + obj.id + '" class="dhx_cal_container" style="width:100%; height:100%;"><div class="dhx_cal_navline"><div class="dhx_cal_prev_button"></div><div class="dhx_cal_next_button"></div><div class="dhx_cal_today_button"></div><div class="dhx_cal_date"></div>' + tabs + '</div><div class="dhx_cal_header"></div><div class="dhx_cal_data"></div></div>'; |
| 21 | document.body.appendChild(obj.firstChild); |
| 22 | this.attachObject(obj.id, false, true); |
| 23 | this.vs[this.av].sched = scheduler2; |
| 24 | this.vs[this.av].schedId = obj.id; |
| 25 | scheduler2.setSizes = scheduler2.updateView; |
| 26 | scheduler2.destructor = function() { |
| 27 | }; |
| 28 | scheduler2.init(obj.id, day, mode); |
| 29 | return this.vs[this._viewRestore()].sched; |
| 30 | }; |
| 31 | } |
| 32 | } |
| 33 | const theme = ""; |
| 34 | var globalScope; |
| 35 | if (typeof window !== "undefined") { |