Skip to content

Commit 11a5c29

Browse files
committed
[update] version 7.2.6
1 parent 40b7d9b commit 11a5c29

15 files changed

+39
-28
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# dhtmlxScheduler #
22

33
[![dhtmlx.com](https://img.shields.io/badge/made%20by-DHTMLX-blue)](https://dhtmlx.com/)
4-
[![npm: v.7.2.5](https://img.shields.io/badge/npm-v.7.2.5-blue.svg)](https://www.npmjs.com/package/dhtmlx-scheduler)
4+
[![npm: v.7.2.6](https://img.shields.io/badge/npm-v.7.2.6-blue.svg)](https://www.npmjs.com/package/dhtmlx-scheduler)
55
[![License: GPL v2](https://img.shields.io/badge/license-GPL%20v2-blue.svg)](https://www.gnu.org/licenses/old-licenses/gpl-2.0.html)
66

77
[DHTMLX Scheduler](https://dhtmlx.com/docs/products/dhtmlxScheduler) is a JavaScript library that allows you to add a Google-like scheduler to your web app or website.
@@ -87,7 +87,7 @@ scheduler.parse([
8787

8888
## License ##
8989

90-
dhtmlxScheduler v.7.2.5 Standard
90+
dhtmlxScheduler v.7.2.6 Standard
9191

9292
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
9393

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "scheduler",
3-
"version": "7.2.5",
3+
"version": "7.2.6",
44
"homepage": "https://dhtmlx.com/docs/products/dhtmlxScheduler/",
55
"description": "JavaScript event calendar. Allows to manage events and appointments in different views",
66
"main": [

codebase/dhtmlxscheduler.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

codebase/dhtmlxscheduler.es.js

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/** @license
22

3-
dhtmlxScheduler v.7.2.5 Standard
3+
dhtmlxScheduler v.7.2.6 Standard
44

55
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
66

@@ -2651,7 +2651,9 @@ He.prototype = { setTransactionMode: function(e, i) {
26512651
return this._waitMode++, n.query(a);
26522652
}
26532653
{
2654-
var l = this.getState(i), h = this.getActionByState(l), v = function(c) {
2654+
var l = this.getState(i), h = this.getActionByState(l);
2655+
delete e[this.action_param];
2656+
var v = function(c) {
26552657
var u = l;
26562658
if (c && c.responseText && c.setRequestHeader) {
26572659
c.status !== 200 && (u = "error");
@@ -3075,7 +3077,7 @@ class Ma {
30753077
}
30763078
}
30773079
function Na(e) {
3078-
const i = { version: "7.2.5" };
3080+
const i = { version: "7.2.6" };
30793081
i.$stateProvider = function() {
30803082
const r = {};
30813083
return { getState: function(d) {
@@ -4137,7 +4139,7 @@ https://docs.dhtmlx.com/scheduler/minicalendar.html`);
41374139
var f = d;
41384140
arguments.length != 1 && ((f = m || {}).start_date = d, f.end_date = l, f.text = h, f.id = v), f.id = f.id || r.uid(), f.text = f.text || "", typeof f.start_date == "string" && (f.start_date = this.templates.api_date(f.start_date)), typeof f.end_date == "string" && (f.end_date = this.templates.api_date(f.end_date));
41394141
var c = 6e4 * (this.config.event_duration || this.config.time_step);
4140-
f.start_date.valueOf() == f.end_date.valueOf() && f.end_date.setTime(f.end_date.valueOf() + c), f.start_date.setMilliseconds(0), f.end_date.setMilliseconds(0), f._timed = this.isOneDayEvent(f);
4142+
new Date(f.end_date).valueOf() - new Date(f.start_date).valueOf() <= c && f.end_date.setTime(f.end_date.valueOf() + c), f.start_date.setMilliseconds(0), f.end_date.setMilliseconds(0), f._timed = this.isOneDayEvent(f);
41414143
var u = !this._events[f.id];
41424144
return this._events[f.id] = f, this.event_updated(f), this._loading || this.callEvent(u ? "onEventAdded" : "onEventChanged", [f.id, f]), f.id;
41434145
}, r.deleteEvent = function(d, l) {

codebase/dhtmlxscheduler.es.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

codebase/dhtmlxscheduler.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

codebase/dhtmlxscheduler.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

codebase/sources/dhtmlxscheduler.css

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,35 +4,35 @@
44
font-style: normal;
55
font-weight: 300;
66
font-display: swap;
7-
src: url(https://fonts.gstatic.com/s/inter/v18/UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmMEVuOKfMZg.ttf) format('truetype');
7+
src: url(https://fonts.gstatic.com/s/inter/v19/UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmMEVuOKfMZg.ttf) format('truetype');
88
}
99
@font-face {
1010
font-family: 'Inter';
1111
font-style: normal;
1212
font-weight: 400;
1313
font-display: swap;
14-
src: url(https://fonts.gstatic.com/s/inter/v18/UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmMEVuLyfMZg.ttf) format('truetype');
14+
src: url(https://fonts.gstatic.com/s/inter/v19/UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmMEVuLyfMZg.ttf) format('truetype');
1515
}
1616
@font-face {
1717
font-family: 'Inter';
1818
font-style: normal;
1919
font-weight: 500;
2020
font-display: swap;
21-
src: url(https://fonts.gstatic.com/s/inter/v18/UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmMEVuI6fMZg.ttf) format('truetype');
21+
src: url(https://fonts.gstatic.com/s/inter/v19/UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmMEVuI6fMZg.ttf) format('truetype');
2222
}
2323
@font-face {
2424
font-family: 'Inter';
2525
font-style: normal;
2626
font-weight: 600;
2727
font-display: swap;
28-
src: url(https://fonts.gstatic.com/s/inter/v18/UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmMEVuGKYMZg.ttf) format('truetype');
28+
src: url(https://fonts.gstatic.com/s/inter/v19/UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmMEVuGKYMZg.ttf) format('truetype');
2929
}
3030
@font-face {
3131
font-family: 'Inter';
3232
font-style: normal;
3333
font-weight: 700;
3434
font-display: swap;
35-
src: url(https://fonts.gstatic.com/s/inter/v18/UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmMEVuFuYMZg.ttf) format('truetype');
35+
src: url(https://fonts.gstatic.com/s/inter/v19/UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmMEVuFuYMZg.ttf) format('truetype');
3636
}
3737
/* default terrace theme is here */
3838
:root {

codebase/sources/dhtmlxscheduler.es.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/** @license
22

3-
dhtmlxScheduler v.7.2.5 Standard
3+
dhtmlxScheduler v.7.2.6 Standard
44

55
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
66

@@ -4859,7 +4859,7 @@ function extend$c(scheduler2) {
48594859
if (typeof ev.end_date == "string")
48604860
ev.end_date = this.templates.api_date(ev.end_date);
48614861
var d = (this.config.event_duration || this.config.time_step) * 6e4;
4862-
if (ev.start_date.valueOf() == ev.end_date.valueOf())
4862+
if (new Date(ev.end_date).valueOf() - new Date(ev.start_date).valueOf() <= d)
48634863
ev.end_date.setTime(ev.end_date.valueOf() + d);
48644864
ev.start_date.setMilliseconds(0);
48654865
ev.end_date.setMilliseconds(0);
@@ -8059,6 +8059,7 @@ DataProcessor.prototype = { setTransactionMode: function(mode, total) {
80598059
if (this._tMode === "CUSTOM") {
80608060
var state = this.getState(rowId);
80618061
var action = this.getActionByState(state);
8062+
delete dataToSend[this.action_param];
80628063
var _onResolvedCreateUpdate = function(tag) {
80638064
var resultState = state;
80648065
if (tag && tag.responseText && tag.setRequestHeader) {
@@ -9196,7 +9197,7 @@ class DatePicker {
91969197
}
91979198
}
91989199
function factoryMethod(extensionManager) {
9199-
const scheduler2 = { version: "7.2.5" };
9200+
const scheduler2 = { version: "7.2.6" };
92009201
scheduler2.$stateProvider = StateService();
92019202
scheduler2.getState = scheduler2.$stateProvider.getState;
92029203
extend$n(scheduler2);

codebase/sources/dhtmlxscheduler.es.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)