@syncfusion/ej2-filemanager 20.2.43 → 20.2.44
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 +12 -0
- package/dist/ej2-filemanager.umd.min.js +2 -2
- package/dist/ej2-filemanager.umd.min.js.map +1 -1
- package/dist/es6/ej2-filemanager.es2015.js +5 -1
- package/dist/es6/ej2-filemanager.es2015.js.map +1 -1
- package/dist/es6/ej2-filemanager.es5.js +5 -1
- package/dist/es6/ej2-filemanager.es5.js.map +1 -1
- package/dist/global/ej2-filemanager.min.js +2 -2
- package/dist/global/ej2-filemanager.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +8 -8
- package/src/file-manager/base/file-manager.d.ts +1 -0
- package/src/file-manager/base/interface.d.ts +1 -0
- package/src/file-manager/common/operations.js +2 -0
- package/src/file-manager/common/utility.js +1 -1
- package/src/file-manager/layout/details-view.js +1 -0
- package/src/file-manager/layout/large-icons-view.js +1 -0
@@ -1075,7 +1075,7 @@ function getImageUrl(parent, item) {
|
|
1075
1075
|
imgUrl = baseUrl + '?path=' + parent.path + '&id=' + imgId;
|
1076
1076
|
}
|
1077
1077
|
else if (!isNullOrUndefined(fPath)) {
|
1078
|
-
imgUrl = baseUrl + '?path=' + fPath.replace(/\\/g, '/') + fileName;
|
1078
|
+
imgUrl = baseUrl + '?path=' + encodeURIComponent(fPath.replace(/\\/g, '/')) + fileName;
|
1079
1079
|
}
|
1080
1080
|
else {
|
1081
1081
|
imgUrl = baseUrl + '?path=' + parent.path + fileName;
|
@@ -2437,6 +2437,8 @@ function readSuccess(parent, result, event) {
|
|
2437
2437
|
parent.notify(selectionChanged, {});
|
2438
2438
|
}
|
2439
2439
|
onFailure(parent, result, 'read');
|
2440
|
+
parent.setProperties({ path: parent.oldPath }, true);
|
2441
|
+
parent.pathNames.pop();
|
2440
2442
|
}
|
2441
2443
|
if (parent.isDragDrop && parent.isDropEnd) {
|
2442
2444
|
if (parent.droppedObjects.length !== 0) {
|
@@ -4574,6 +4576,7 @@ class LargeIconsView {
|
|
4574
4576
|
const val = this.parent.breadcrumbbarModule.searchObj.element.value;
|
4575
4577
|
if (val === '' && !this.parent.isFiltered) {
|
4576
4578
|
const id = getValue('id', details);
|
4579
|
+
this.parent.oldPath = this.parent.path;
|
4577
4580
|
const newPath = this.parent.path + (isNullOrUndefined(id) ? text : id) + '/';
|
4578
4581
|
this.parent.setProperties({ path: newPath }, true);
|
4579
4582
|
this.parent.pathNames.push(text);
|
@@ -9510,6 +9513,7 @@ class DetailsView {
|
|
9510
9513
|
const val = this.parent.breadcrumbbarModule.searchObj.element.value;
|
9511
9514
|
if (val === '' && !this.parent.isFiltered) {
|
9512
9515
|
const id = getValue('id', data);
|
9516
|
+
this.parent.oldPath = this.parent.path;
|
9513
9517
|
const newPath = this.parent.path + (isNullOrUndefined(id) ? name : id) + '/';
|
9514
9518
|
this.parent.setProperties({ path: newPath }, true);
|
9515
9519
|
this.parent.pathNames.push(name);
|