@syncfusion/ej2-filemanager 23.1.39 → 23.1.43

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.
@@ -2619,7 +2619,7 @@ parent, data, fn, event, operation, targetPath) {
2619
2619
  setValue('location', location_1, result.details);
2620
2620
  }
2621
2621
  fn(parent, result, event, operation, targetPath);
2622
- if (!isNullOrUndefined(result.files) && (event === 'path-changed' || event === 'finalize-end' || event === 'open-end')) {
2622
+ if (!isNullOrUndefined(result.files) && (event === 'path-changed' || event === 'finalize-end' || event === 'open-end' || event === 'drop-path')) {
2623
2623
  parent.notify(searchTextChange, result);
2624
2624
  }
2625
2625
  if (typeof getValue('onSuccess', beforeSendArgs.ajaxSettings) === 'function') {
@@ -2787,15 +2787,15 @@ function renameSuccess(parent, result, path) {
2787
2787
  var args = { action: 'rename', result: result };
2788
2788
  parent.trigger('success', args);
2789
2789
  parent.renamedItem = Array.isArray(result.files) ? result.files[0] : result.files;
2790
- if (getValue('filterPath', parent.renamedItem) === getValue('filterPath', parent.itemData[0]) && parent.pathNames.length > 1) {
2791
- parent.pathNames[parent.pathNames.length - 1] = parent.renameText;
2792
- }
2793
2790
  if (parent.activeModule === 'navigationpane') {
2794
2791
  parent.pathId.pop();
2795
2792
  parent.itemData = [getValue(parent.pathId[parent.pathId.length - 1], parent.feParent)];
2796
2793
  read(parent, renameEndParent, getValue('filterPath', parent.renamedItem).replace(/\\/g, '/'));
2797
2794
  parent.itemData[0] = parent.renamedItem;
2798
2795
  read(parent, pathChanged, parent.path === '/' ? parent.path : getValue('filterPath', parent.renamedItem).replace(/\\/g, '/') + parent.renamedItem.name + '/');
2796
+ if (getValue('filterPath', parent.renamedItem) === getValue('filterPath', parent.itemData[0]) && parent.pathNames.length > 1) {
2797
+ parent.pathNames[parent.pathNames.length - 1] = parent.renameText;
2798
+ }
2799
2799
  }
2800
2800
  else {
2801
2801
  parent.itemData = [getPathObject(parent)];
@@ -4345,6 +4345,7 @@ var LargeIconsView = /** @__PURE__ @class */ (function () {
4345
4345
  this.selectItems([getValue(this.parent.hasId ? 'id' : 'name', this.parent.createdItem)]);
4346
4346
  this.parent.createdItem = null;
4347
4347
  this.parent.largeiconsviewModule.element.focus();
4348
+ this.parent.activeModule = 'largeiconsview';
4348
4349
  };
4349
4350
  LargeIconsView.prototype.onSelectedData = function () {
4350
4351
  if (this.parent.activeModule === 'largeiconsview') {