@syncfusion/ej2-schedule 21.1.39 → 21.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -0
- package/dist/ej2-schedule.min.js +2 -2
- package/dist/ej2-schedule.umd.min.js +2 -2
- package/dist/ej2-schedule.umd.min.js.map +1 -1
- package/dist/es6/ej2-schedule.es2015.js +45 -26
- package/dist/es6/ej2-schedule.es2015.js.map +1 -1
- package/dist/es6/ej2-schedule.es5.js +46 -27
- package/dist/es6/ej2-schedule.es5.js.map +1 -1
- package/dist/global/ej2-schedule.min.js +2 -2
- package/dist/global/ej2-schedule.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +16 -19
- package/src/schedule/actions/action-base.js +7 -1
- package/src/schedule/actions/drag.js +6 -4
- package/src/schedule/base/resource.js +1 -1
- package/src/schedule/base/schedule.d.ts +4 -3
- package/src/schedule/base/schedule.js +8 -5
- package/src/schedule/event-renderer/agenda-base.js +2 -2
- package/src/schedule/event-renderer/event-base.js +1 -1
- package/src/schedule/event-renderer/month.js +2 -2
- package/src/schedule/event-renderer/vertical-view.js +2 -2
- package/src/schedule/popups/event-window.js +11 -3
- package/src/schedule/popups/quick-popups.js +5 -5
- package/src/schedule/renderer/renderer.js +1 -1
- package/src/schedule/renderer/view-base.js +1 -1
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 21.
|
|
3
|
+
* version : 21.2.3
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
|
|
5
5
|
* Use of this code is subject to the terms of our license.
|
|
6
6
|
* A copy of the current license can be obtained at any time by e-mailing
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_from": "@syncfusion/ej2-schedule@*",
|
|
3
|
-
"_id": "@syncfusion/ej2-schedule@21.1.
|
|
3
|
+
"_id": "@syncfusion/ej2-schedule@21.1.41",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-3TzRE+vjuSqMo3rnt+t+iu5n2GtQPJ5H40YcVuZInxT3NkV7CmlY4wyIxw1oTF/bWCqiG9SQc9ShPxy9RkgkPg==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-schedule",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
@@ -18,13 +18,10 @@
|
|
|
18
18
|
},
|
|
19
19
|
"_requiredBy": [
|
|
20
20
|
"/",
|
|
21
|
-
"/@syncfusion/ej2"
|
|
22
|
-
"/@syncfusion/ej2-angular-schedule",
|
|
23
|
-
"/@syncfusion/ej2-react-schedule",
|
|
24
|
-
"/@syncfusion/ej2-vue-schedule"
|
|
21
|
+
"/@syncfusion/ej2"
|
|
25
22
|
],
|
|
26
|
-
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-schedule/-/ej2-schedule-21.1.
|
|
27
|
-
"_shasum": "
|
|
23
|
+
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-schedule/-/ej2-schedule-21.1.41.tgz",
|
|
24
|
+
"_shasum": "50faf8c7a5144da5b93b743315134014912cc5d4",
|
|
28
25
|
"_spec": "@syncfusion/ej2-schedule@*",
|
|
29
26
|
"_where": "/jenkins/workspace/elease-automation_release_21.1.1/packages/included",
|
|
30
27
|
"author": {
|
|
@@ -35,16 +32,16 @@
|
|
|
35
32
|
},
|
|
36
33
|
"bundleDependencies": false,
|
|
37
34
|
"dependencies": {
|
|
38
|
-
"@syncfusion/ej2-base": "~21.
|
|
39
|
-
"@syncfusion/ej2-buttons": "~21.
|
|
40
|
-
"@syncfusion/ej2-calendars": "~21.
|
|
41
|
-
"@syncfusion/ej2-data": "~21.
|
|
42
|
-
"@syncfusion/ej2-dropdowns": "~21.
|
|
43
|
-
"@syncfusion/ej2-excel-export": "~21.
|
|
44
|
-
"@syncfusion/ej2-inputs": "~21.
|
|
45
|
-
"@syncfusion/ej2-lists": "~21.
|
|
46
|
-
"@syncfusion/ej2-navigations": "~21.
|
|
47
|
-
"@syncfusion/ej2-popups": "~21.
|
|
35
|
+
"@syncfusion/ej2-base": "~21.2.3",
|
|
36
|
+
"@syncfusion/ej2-buttons": "~21.2.3",
|
|
37
|
+
"@syncfusion/ej2-calendars": "~21.2.3",
|
|
38
|
+
"@syncfusion/ej2-data": "~21.2.3",
|
|
39
|
+
"@syncfusion/ej2-dropdowns": "~21.2.3",
|
|
40
|
+
"@syncfusion/ej2-excel-export": "~21.2.3",
|
|
41
|
+
"@syncfusion/ej2-inputs": "~21.2.3",
|
|
42
|
+
"@syncfusion/ej2-lists": "~21.2.3",
|
|
43
|
+
"@syncfusion/ej2-navigations": "~21.2.3",
|
|
44
|
+
"@syncfusion/ej2-popups": "~21.2.3"
|
|
48
45
|
},
|
|
49
46
|
"deprecated": false,
|
|
50
47
|
"description": "Flexible scheduling library with more built-in features and enhanced customization options similar to outlook and google calendar, allowing the users to plan and manage their appointments with efficient data-binding support.",
|
|
@@ -73,6 +70,6 @@
|
|
|
73
70
|
"url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
|
|
74
71
|
},
|
|
75
72
|
"typings": "index.d.ts",
|
|
76
|
-
"version": "21.
|
|
73
|
+
"version": "21.2.3",
|
|
77
74
|
"sideEffects": false
|
|
78
75
|
}
|
|
@@ -333,6 +333,9 @@ var ActionBase = /** @class */ (function () {
|
|
|
333
333
|
};
|
|
334
334
|
ActionBase.prototype.dynamicYearlyEventsRendering = function (event, isResize) {
|
|
335
335
|
if (isResize === void 0) { isResize = false; }
|
|
336
|
+
if (!isNullOrUndefined(this.parent.eventDragArea)) {
|
|
337
|
+
return;
|
|
338
|
+
}
|
|
336
339
|
var appWidth = this.actionObj.cellWidth - 7;
|
|
337
340
|
if (isResize && (this.resizeEdges.left || this.resizeEdges.right)) {
|
|
338
341
|
appWidth = this.actionObj.cellWidth * event.count;
|
|
@@ -404,6 +407,9 @@ var ActionBase = /** @class */ (function () {
|
|
|
404
407
|
};
|
|
405
408
|
ActionBase.prototype.dynamicEventsRendering = function (event) {
|
|
406
409
|
var _this = this;
|
|
410
|
+
if (!isNullOrUndefined(this.parent.eventDragArea)) {
|
|
411
|
+
return;
|
|
412
|
+
}
|
|
407
413
|
var dateRender = this.parent.activeView.renderDates;
|
|
408
414
|
var workCells = [].slice.call(this.parent.element.querySelectorAll('.' + cls.WORK_CELLS_CLASS));
|
|
409
415
|
var workDays = this.parent.activeViewOptions.workDays;
|
|
@@ -440,7 +446,7 @@ var ActionBase = /** @class */ (function () {
|
|
|
440
446
|
this.monthEvent.applyResourceColor(appointmentElement, event_1, 'backgroundColor', groupOrder);
|
|
441
447
|
setStyleAttribute(appointmentElement, { 'width': appWidth + 'px', 'border': '0px', 'pointer-events': 'none' });
|
|
442
448
|
var cellTd = workCells[parseInt(day.toString(), 10)];
|
|
443
|
-
if (cellTd
|
|
449
|
+
if (cellTd) {
|
|
444
450
|
this.monthEvent.renderElement(cellTd, appointmentElement, true);
|
|
445
451
|
this.actionObj.cloneElement.push(appointmentElement);
|
|
446
452
|
}
|
|
@@ -965,10 +965,12 @@ var DragAndDrop = /** @class */ (function (_super) {
|
|
|
965
965
|
}
|
|
966
966
|
}
|
|
967
967
|
var event = this.getUpdatedEvent(this.actionObj.start, this.actionObj.end, this.actionObj.event);
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
var
|
|
971
|
-
|
|
968
|
+
if (isNullOrUndefined(this.parent.eventDragArea)) {
|
|
969
|
+
var eventWrappers = [].slice.call(this.parent.element.querySelectorAll('.' + cls.CLONE_ELEMENT_CLASS));
|
|
970
|
+
for (var _i = 0, eventWrappers_1 = eventWrappers; _i < eventWrappers_1.length; _i++) {
|
|
971
|
+
var wrapper = eventWrappers_1[_i];
|
|
972
|
+
remove(wrapper);
|
|
973
|
+
}
|
|
972
974
|
}
|
|
973
975
|
if (this.multiData && this.multiData.length > 0) {
|
|
974
976
|
var startTime = util.resetTime(new Date(event[this.parent.eventFields.startTime]));
|
|
@@ -432,7 +432,7 @@ var ResourceBase = /** @class */ (function () {
|
|
|
432
432
|
return resData[resourceLevel.idField] === resource.groupOrder[parseInt(i.toString(), 10)];
|
|
433
433
|
});
|
|
434
434
|
var resourceName = createElement('div', { className: cls.RESOURCE_NAME });
|
|
435
|
-
|
|
435
|
+
this_2.parent.sanitize(resourceText[0][resourceLevel.textField], resourceName);
|
|
436
436
|
headerCollection.push(resourceName);
|
|
437
437
|
var levelIcon = createElement('div', { className: 'e-icons e-icon-next' });
|
|
438
438
|
headerCollection.push(levelIcon);
|
|
@@ -911,13 +911,14 @@ export declare class Schedule extends Component<HTMLElement> implements INotifyP
|
|
|
911
911
|
*/
|
|
912
912
|
resetTemplates(templates?: string[]): void;
|
|
913
913
|
/**
|
|
914
|
-
*
|
|
914
|
+
* This method renders untrusted strings and scripts securely by sanitizing them first.
|
|
915
915
|
*
|
|
916
916
|
* @param {string} value - A string value representing the HTML string value to be sanitized.
|
|
917
|
-
* @
|
|
917
|
+
* @param {HTMLElement} element - An HTML element to which the sanitized or unsanitized HTML string will be assigned.
|
|
918
|
+
* @returns {void}
|
|
918
919
|
* @private
|
|
919
920
|
*/
|
|
920
|
-
sanitize(value: string):
|
|
921
|
+
sanitize(value: string, element: HTMLElement): void;
|
|
921
922
|
private initializeResources;
|
|
922
923
|
/**
|
|
923
924
|
* Method to render the layout elements
|
|
@@ -160,17 +160,20 @@ var Schedule = /** @class */ (function (_super) {
|
|
|
160
160
|
}
|
|
161
161
|
};
|
|
162
162
|
/**
|
|
163
|
-
*
|
|
163
|
+
* This method renders untrusted strings and scripts securely by sanitizing them first.
|
|
164
164
|
*
|
|
165
165
|
* @param {string} value - A string value representing the HTML string value to be sanitized.
|
|
166
|
-
* @
|
|
166
|
+
* @param {HTMLElement} element - An HTML element to which the sanitized or unsanitized HTML string will be assigned.
|
|
167
|
+
* @returns {void}
|
|
167
168
|
* @private
|
|
168
169
|
*/
|
|
169
|
-
Schedule.prototype.sanitize = function (value) {
|
|
170
|
+
Schedule.prototype.sanitize = function (value, element) {
|
|
170
171
|
if (this.enableHtmlSanitizer) {
|
|
171
|
-
|
|
172
|
+
element.innerText = SanitizeHtmlHelper.sanitize(value);
|
|
173
|
+
}
|
|
174
|
+
else {
|
|
175
|
+
element.innerHTML = value;
|
|
172
176
|
}
|
|
173
|
-
return value;
|
|
174
177
|
};
|
|
175
178
|
Schedule.prototype.initializeResources = function (isSetModel) {
|
|
176
179
|
if (isSetModel === void 0) { isSetModel = false; }
|
|
@@ -111,11 +111,11 @@ var AgendaBase = /** @class */ (function (_super) {
|
|
|
111
111
|
eventSubject += ',';
|
|
112
112
|
}
|
|
113
113
|
var appSubjectText = createElement('div', { className: cls.SUBJECT_CLASS });
|
|
114
|
-
|
|
114
|
+
this.parent.sanitize(eventSubject, appSubjectText);
|
|
115
115
|
appSubjectWrap.appendChild(appSubjectText);
|
|
116
116
|
if (!isNullOrUndefined(eventLocation) && eventLocation !== '') {
|
|
117
117
|
var appLocation = createElement('div', { className: cls.LOCATION_CLASS });
|
|
118
|
-
|
|
118
|
+
this.parent.sanitize(eventLocation, appLocation);
|
|
119
119
|
appSubjectWrap.appendChild(appLocation);
|
|
120
120
|
}
|
|
121
121
|
if (!isNullOrUndefined(event[fieldMapping.recurrenceRule])) {
|
|
@@ -1118,7 +1118,7 @@ var EventBase = /** @class */ (function () {
|
|
|
1118
1118
|
}
|
|
1119
1119
|
else {
|
|
1120
1120
|
var appointmentSubject = createElement('div', { className: cls.SUBJECT_CLASS });
|
|
1121
|
-
|
|
1121
|
+
this.parent.sanitize(eventSubject, appointmentSubject);
|
|
1122
1122
|
templateElement = [appointmentSubject];
|
|
1123
1123
|
}
|
|
1124
1124
|
append(templateElement, appointmentWrapper);
|
|
@@ -410,7 +410,7 @@ var MonthEvent = /** @class */ (function (_super) {
|
|
|
410
410
|
else {
|
|
411
411
|
var eventLocation = (record[this.fields.location] || this.parent.eventSettings.fields.location.default || '');
|
|
412
412
|
var appointmentSubject = createElement('div', { className: cls.SUBJECT_CLASS });
|
|
413
|
-
|
|
413
|
+
this.parent.sanitize((eventSubject + (eventLocation ? '; ' + eventLocation : '')), appointmentSubject);
|
|
414
414
|
var appointmentStartTime = createElement('div', {
|
|
415
415
|
className: cls.APPOINTMENT_TIME + (this.parent.isAdaptive ? ' ' + cls.DISABLE_CLASS : ''),
|
|
416
416
|
innerHTML: this.parent.getTimeString(eventData[this.fields.startTime])
|
|
@@ -454,7 +454,7 @@ var MonthEvent = /** @class */ (function (_super) {
|
|
|
454
454
|
className: cls.APPOINTMENT_TIME + (this.parent.isAdaptive ? ' ' + cls.DISABLE_CLASS : ''), innerHTML: timeString
|
|
455
455
|
});
|
|
456
456
|
var appLocation = createElement('div', { className: cls.LOCATION_CLASS });
|
|
457
|
-
|
|
457
|
+
this.parent.sanitize(eventLocation, appLocation);
|
|
458
458
|
innerElement = [appointmentSubject, appTime, appLocation];
|
|
459
459
|
}
|
|
460
460
|
var wrap = createElement('div', { className: 'e-inner-wrap' });
|
|
@@ -345,7 +345,7 @@ var VerticalEvent = /** @class */ (function (_super) {
|
|
|
345
345
|
}
|
|
346
346
|
else {
|
|
347
347
|
var appointmentSubject = createElement('div', { className: cls.SUBJECT_CLASS });
|
|
348
|
-
|
|
348
|
+
this.parent.sanitize(recordSubject, appointmentSubject);
|
|
349
349
|
if (isAllDay) {
|
|
350
350
|
if (record[fieldMapping.isAllDay]) {
|
|
351
351
|
templateElement = [appointmentSubject];
|
|
@@ -378,7 +378,7 @@ var VerticalEvent = /** @class */ (function (_super) {
|
|
|
378
378
|
innerHTML: timeStr
|
|
379
379
|
});
|
|
380
380
|
var appointmentLocation = createElement('div', { className: cls.LOCATION_CLASS });
|
|
381
|
-
|
|
381
|
+
this.parent.sanitize((record[fieldMapping.location] || this.parent.eventSettings.fields.location.default || ''), appointmentLocation);
|
|
382
382
|
templateElement = [appointmentSubject, appointmentTime, appointmentLocation];
|
|
383
383
|
}
|
|
384
384
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
2
2
|
import { createElement, isNullOrUndefined, addClass, remove, EventHandler, extend, append, detach } from '@syncfusion/ej2-base';
|
|
3
|
-
import { cldrData, removeClass, getValue, getDefaultDateObject, closest } from '@syncfusion/ej2-base';
|
|
3
|
+
import { cldrData, removeClass, getValue, getDefaultDateObject, closest, SanitizeHtmlHelper } from '@syncfusion/ej2-base';
|
|
4
4
|
import { Query, Deferred } from '@syncfusion/ej2-data';
|
|
5
5
|
import { CheckBox, Button } from '@syncfusion/ej2-buttons';
|
|
6
6
|
import { Dialog } from '@syncfusion/ej2-popups';
|
|
@@ -262,6 +262,7 @@ var EventWindow = /** @class */ (function () {
|
|
|
262
262
|
var element = formElements_1[_i];
|
|
263
263
|
remove(element);
|
|
264
264
|
}
|
|
265
|
+
this.parent.resetTemplates(['editorTemplate']);
|
|
265
266
|
}
|
|
266
267
|
var templateId = this.parent.element.id + '_editorTemplate';
|
|
267
268
|
var tempEle = [].slice.call(this.parent.getEditorTemplate()(args || {}, this.parent, 'editorTemplate', templateId, false));
|
|
@@ -836,10 +837,13 @@ var EventWindow = /** @class */ (function () {
|
|
|
836
837
|
}
|
|
837
838
|
};
|
|
838
839
|
EventWindow.prototype.applyFormValidation = function () {
|
|
840
|
+
var form = this.element.querySelector('.' + cls.FORM_CLASS);
|
|
841
|
+
if (!form) {
|
|
842
|
+
return;
|
|
843
|
+
}
|
|
839
844
|
var getValidationRule = function (rules) {
|
|
840
845
|
return (rules && Object.keys(rules).length > 0) ? rules : undefined;
|
|
841
846
|
};
|
|
842
|
-
var form = this.element.querySelector('.' + cls.FORM_CLASS);
|
|
843
847
|
var rules = {};
|
|
844
848
|
var subjectRule = getValidationRule(this.parent.eventSettings.fields.subject.validation);
|
|
845
849
|
if (!isNullOrUndefined(subjectRule)) {
|
|
@@ -1670,7 +1674,8 @@ var EventWindow = /** @class */ (function () {
|
|
|
1670
1674
|
value = element.checked;
|
|
1671
1675
|
}
|
|
1672
1676
|
else {
|
|
1673
|
-
value = this.parent.
|
|
1677
|
+
value = this.parent.enableHtmlSanitizer ?
|
|
1678
|
+
SanitizeHtmlHelper.sanitize(element.value) : element.value;
|
|
1674
1679
|
}
|
|
1675
1680
|
}
|
|
1676
1681
|
return value;
|
|
@@ -1815,6 +1820,9 @@ var EventWindow = /** @class */ (function () {
|
|
|
1815
1820
|
else if (element.classList.contains('e-multiselect')) {
|
|
1816
1821
|
instance = element.ej2_instances;
|
|
1817
1822
|
}
|
|
1823
|
+
else if (element.classList.contains('e-numerictextbox')) {
|
|
1824
|
+
instance = element.ej2_instances;
|
|
1825
|
+
}
|
|
1818
1826
|
if (instance && instance[0]) {
|
|
1819
1827
|
instance[0].destroy();
|
|
1820
1828
|
}
|
|
@@ -332,7 +332,7 @@ var QuickPopups = /** @class */ (function () {
|
|
|
332
332
|
}
|
|
333
333
|
else {
|
|
334
334
|
appointmentElement.appendChild(createElement('div', { className: cls.SUBJECT_CLASS }));
|
|
335
|
-
|
|
335
|
+
this_1.parent.sanitize(eventText, appointmentElement.firstElementChild);
|
|
336
336
|
}
|
|
337
337
|
if (!isNullOrUndefined(groupIndex)) {
|
|
338
338
|
appointmentElement.setAttribute('data-group-index', groupIndex);
|
|
@@ -592,7 +592,7 @@ var QuickPopups = /** @class */ (function () {
|
|
|
592
592
|
var templateWrapper = createElement('div', { innerHTML: header });
|
|
593
593
|
if (headerType === 'Event') {
|
|
594
594
|
var subjectText = templateWrapper.querySelector('.' + cls.SUBJECT_CLASS);
|
|
595
|
-
|
|
595
|
+
this.parent.sanitize(args.eventSubject, subjectText);
|
|
596
596
|
}
|
|
597
597
|
append([].slice.call(templateWrapper.childNodes), headerTemplate);
|
|
598
598
|
}
|
|
@@ -656,19 +656,19 @@ var QuickPopups = /** @class */ (function () {
|
|
|
656
656
|
if (data[this.parent.eventFields.location]) {
|
|
657
657
|
var locationDetails = templateWrapper.querySelector('.' + cls.LOCATION_DETAILS_CLASS);
|
|
658
658
|
if (!isNullOrUndefined(locationDetails)) {
|
|
659
|
-
|
|
659
|
+
this.parent.sanitize(data[this.parent.eventFields.location], locationDetails);
|
|
660
660
|
}
|
|
661
661
|
}
|
|
662
662
|
if (data[this.parent.eventFields.description]) {
|
|
663
663
|
var descriptionDetails = templateWrapper.querySelector('.' + cls.DESCRIPTION_DETAILS_CLASS);
|
|
664
664
|
if (!isNullOrUndefined(descriptionDetails)) {
|
|
665
|
-
|
|
665
|
+
this.parent.sanitize(data[this.parent.eventFields.description], descriptionDetails);
|
|
666
666
|
}
|
|
667
667
|
}
|
|
668
668
|
if (resourceText) {
|
|
669
669
|
var resourceDetails = templateWrapper.querySelector('.' + cls.RESOURCE_DETAILS_CLASS);
|
|
670
670
|
if (!isNullOrUndefined(resourceDetails)) {
|
|
671
|
-
|
|
671
|
+
this.parent.sanitize(resourceText, resourceDetails);
|
|
672
672
|
}
|
|
673
673
|
}
|
|
674
674
|
append([].slice.call(templateWrapper.childNodes), contentTemplate);
|
|
@@ -91,7 +91,7 @@ var Render = /** @class */ (function () {
|
|
|
91
91
|
this.parent.virtualScrollModule.destroy();
|
|
92
92
|
this.parent.virtualScrollModule = null;
|
|
93
93
|
}
|
|
94
|
-
if ((['Agenda', 'Year'].indexOf(this.parent.currentView) === -1 ||
|
|
94
|
+
if ((['Agenda', 'MonthAgenda', 'Year', 'TimelineYear'].indexOf(this.parent.currentView) === -1 ||
|
|
95
95
|
(this.parent.currentView === 'TimelineYear' && this.parent.activeViewOptions.orientation === 'Vertical'))
|
|
96
96
|
&& this.parent.activeViewOptions.allowVirtualScrolling
|
|
97
97
|
&& this.parent.activeViewOptions.group.resources.length > 0 && !this.parent.uiStateValues.isGroupAdaptive) {
|
|
@@ -425,7 +425,7 @@ var ViewBase = /** @class */ (function () {
|
|
|
425
425
|
}
|
|
426
426
|
else {
|
|
427
427
|
var resourceText = createElement('div', { className: className });
|
|
428
|
-
|
|
428
|
+
this.parent.sanitize(tdData.resourceData[tdData.resource.textField], resourceText);
|
|
429
429
|
tdElement.appendChild(resourceText);
|
|
430
430
|
}
|
|
431
431
|
};
|