@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
@@ -1219,7 +1219,7 @@ function getImageUrl(parent, item) {
|
|
1219
1219
|
imgUrl = baseUrl + '?path=' + parent.path + '&id=' + imgId;
|
1220
1220
|
}
|
1221
1221
|
else if (!isNullOrUndefined(fPath)) {
|
1222
|
-
imgUrl = baseUrl + '?path=' + fPath.replace(/\\/g, '/') + fileName;
|
1222
|
+
imgUrl = baseUrl + '?path=' + encodeURIComponent(fPath.replace(/\\/g, '/')) + fileName;
|
1223
1223
|
}
|
1224
1224
|
else {
|
1225
1225
|
imgUrl = baseUrl + '?path=' + parent.path + fileName;
|
@@ -2581,6 +2581,8 @@ function readSuccess(parent, result, event) {
|
|
2581
2581
|
parent.notify(selectionChanged, {});
|
2582
2582
|
}
|
2583
2583
|
onFailure(parent, result, 'read');
|
2584
|
+
parent.setProperties({ path: parent.oldPath }, true);
|
2585
|
+
parent.pathNames.pop();
|
2584
2586
|
}
|
2585
2587
|
if (parent.isDragDrop && parent.isDropEnd) {
|
2586
2588
|
if (parent.droppedObjects.length !== 0) {
|
@@ -4724,6 +4726,7 @@ var LargeIconsView = /** @__PURE__ @class */ (function () {
|
|
4724
4726
|
var val = _this.parent.breadcrumbbarModule.searchObj.element.value;
|
4725
4727
|
if (val === '' && !_this.parent.isFiltered) {
|
4726
4728
|
var id = getValue('id', details_1);
|
4729
|
+
_this.parent.oldPath = _this.parent.path;
|
4727
4730
|
var newPath = _this.parent.path + (isNullOrUndefined(id) ? text : id) + '/';
|
4728
4731
|
_this.parent.setProperties({ path: newPath }, true);
|
4729
4732
|
_this.parent.pathNames.push(text);
|
@@ -9699,6 +9702,7 @@ var DetailsView = /** @__PURE__ @class */ (function () {
|
|
9699
9702
|
var val = _this.parent.breadcrumbbarModule.searchObj.element.value;
|
9700
9703
|
if (val === '' && !_this.parent.isFiltered) {
|
9701
9704
|
var id = getValue('id', data);
|
9705
|
+
_this.parent.oldPath = _this.parent.path;
|
9702
9706
|
var newPath = _this.parent.path + (isNullOrUndefined(id) ? name_2 : id) + '/';
|
9703
9707
|
_this.parent.setProperties({ path: newPath }, true);
|
9704
9708
|
_this.parent.pathNames.push(name_2);
|