Unplanned
Last Updated: 04 May 2021 07:22 by Guilherme
Guilherme
Created on: 04 May 2021 07:22
Category: FileManager
Type: Bug Report
0
Calling the loaded method on a FileEntry instance does not reset the loaded flag

Bug report

Calling the loaded method on a FileEntry instance does not reset the loaded flag.

function onNavigate(e) {
            var filemanager = e.sender;
            var path = e.path;
            var entry = filemanager.dataSource.get(path);
            if (entry.loaded()) {
                entry.loaded(false);
            }
        }

Reproduction of the problem

  1. Run this dojo
  2. On the TreeView section of the Filemanager navigate to both folders, so the contents of the folders are loaded
  3. Navigate between the Folders using the TreeView and note the loaded flag is not reset

Current behavior

Calling entry.loaded(false); does not reset the loaded flag of a FileEntry instance.

Expected/desired behavior

Calling entry.loaded(false); should reset the loaded flag of a FileEntry instance.

Environment

  • Kendo UI version: 2021.1.330
  • Browser: [all]
0 comments