easy-file-system 2.1.84 → 2.1.88

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/src/explorer.js CHANGED
@@ -317,9 +317,10 @@ class Explorer extends Element {
317
317
 
318
318
  if (callHandlers) {
319
319
  const selected = false,
320
+ readOnly = dragEntryItem.getReadOnly(),
320
321
  explorer = dragEntryItem.getExplorer();
321
322
 
322
- this.callSelectHandlers(path, selected, explorer);
323
+ this.callSelectHandlers(path, selected, readOnly, explorer);
323
324
  }
324
325
  }
325
326
 
@@ -610,7 +610,6 @@ class EntriesList extends Element {
610
610
  collapseEntriesList = this.collapse.bind(this), ///
611
611
  isEntriesListCollapsed = this.isCollapsed.bind(this), ///
612
612
  isEmpty = this.isEmpty.bind(this),
613
- isTopmost = this.isTopmost.bind(this),
614
613
  addMarker = this.addMarker.bind(this),
615
614
  selectPath = this.selectPath.bind(this),
616
615
  addFilePath = this.addFilePath.bind(this),
@@ -636,7 +635,6 @@ class EntriesList extends Element {
636
635
  collapseEntriesList,
637
636
  isEntriesListCollapsed,
638
637
  isEmpty,
639
- isTopmost,
640
638
  addMarker,
641
639
  selectPath,
642
640
  addFilePath,
@@ -102,7 +102,7 @@ function callOpenHandlers(filePath, explorer) {
102
102
  });
103
103
  }
104
104
 
105
- function callSelectHandlers(path, selected, explorer) {
105
+ function callSelectHandlers(path, selected, readOnly, explorer) {
106
106
  const eventType = SELECT_EVENT_TYPE,
107
107
  eventListeners = this.findEventListeners(eventType);
108
108
 
@@ -110,7 +110,7 @@ function callSelectHandlers(path, selected, explorer) {
110
110
  const { handler, element } = eventListener,
111
111
  selectHandler = handler; ///
112
112
 
113
- selectHandler.call(element, path, selected, explorer, this); ///
113
+ selectHandler.call(element, path, selected, readOnly, explorer, this); ///
114
114
  });
115
115
  }
116
116