Skip to content

Commit ec8819c

Browse files
committed
Sync with Kendo UI Professional
1 parent bb2ebcd commit ec8819c

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

src/kendo.tabstrip.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ export const __meta__ = {
127127
if (key === "class" || key === "role" || key === "aria-selected") {
128128
return "";
129129
}
130-
return `${kendo.attr(key)}='${kendo.sanitizeAttribute(value)}'`;
130+
return `${key}='${kendo.htmlEncode(value)}'`;
131131
})
132132
.join(" ");
133133
},
@@ -748,6 +748,7 @@ export const __meta__ = {
748748
length;
749749

750750
const enableDOMDataSource = that._enableDataSourceFromDOM;
751+
const pristineData = that.dataSource._pristineData;
751752

752753
e = e || {};
753754
action = e.action;
@@ -803,7 +804,11 @@ export const __meta__ = {
803804

804805
tab.enabled = view[idx].enabled;
805806
tab.closable = view[idx].closable ?? options.closable;
806-
tab.attributes = view[idx].attributes;
807+
808+
if (pristineData) {
809+
tab.attributes = pristineData[idx].attributes;
810+
}
811+
807812
if (view[idx].content) {
808813
tab.content = view[idx].content;
809814
}

typescript/kendo.all.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12192,7 +12192,7 @@ declare namespace kendo.ui {
1219212192

1219312193
interface SpreadsheetExcelImportEvent extends SpreadsheetEvent {
1219412194
file?: Blob|File | undefined;
12195-
progress?: JQueryPromise<any> | undefined;
12195+
promise?: JQueryPromise<any> | undefined;
1219612196
}
1219712197

1219812198
interface SpreadsheetPdfExportEvent extends SpreadsheetEvent {

0 commit comments

Comments
 (0)