MDL-62415 repo_filepicker: Display search results in tree view

Disable overriding call to list all files in tree view and show search results instead
This commit is contained in:
Peter
2018-11-09 10:54:58 +08:00
committed by Damyon Wiese
parent a2793d3850
commit d206c98d98
+1 -2
View File
@@ -265,9 +265,8 @@ YUI.add('moodle-core_filepicker', function(Y) {
if (root.path == mytreeel.path) {
root.origpath = options.filepath;
root.origlist = fileslist;
} else if (!root.isLeaf && root.expanded) {
Y.bind(options.treeview_dynload, options.callbackcontext)(root, null);
}
// Removed bind as of MDL-62415 as it overwrites the search tree results
}
}
} else {