@syncfusion/ej2-navigations 34.1.30 → 34.1.31
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/dist/ej2-navigations.min.js +2 -2
- package/dist/ej2-navigations.umd.min.js +2 -2
- package/dist/ej2-navigations.umd.min.js.map +1 -1
- package/dist/es6/ej2-navigations.es2015.js +3 -1
- package/dist/es6/ej2-navigations.es2015.js.map +1 -1
- package/dist/es6/ej2-navigations.es5.js +3 -1
- package/dist/es6/ej2-navigations.es5.js.map +1 -1
- package/dist/global/ej2-navigations.min.js +2 -2
- package/dist/global/ej2-navigations.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +1 -1
- package/src/treeview/treeview.js +3 -1
|
@@ -13136,7 +13136,9 @@ var TreeView = /** @__PURE__ @class */ (function (_super) {
|
|
|
13136
13136
|
TreeView.prototype.selectNode = function (li, e, multiSelect) {
|
|
13137
13137
|
var _this = this;
|
|
13138
13138
|
if (isNullOrUndefined(li) || (!this.allowMultiSelection && this.isActive(li) && !isNullOrUndefined(e))) {
|
|
13139
|
-
|
|
13139
|
+
var isDropDownTree = this.element.closest('.e-ddt');
|
|
13140
|
+
var handleCheckOnClick = isDropDownTree ? (this.checkOnClick && this.showCheckBox) : this.checkOnClick;
|
|
13141
|
+
if (handleCheckOnClick) {
|
|
13140
13142
|
var checkboxElement = select(' .' + CHECKBOXFRAME, li);
|
|
13141
13143
|
if (!isNullOrUndefined(checkboxElement) && checkboxElement.classList.contains(CHECK)) {
|
|
13142
13144
|
addClass([li], ACTIVE);
|