Skip to content

Commit

Permalink
MDL-62415 repo_filepicker: Display search results in tree view
Browse files Browse the repository at this point in the history
Disable overriding call to list all files in tree view and show search results instead
  • Loading branch information
Peter committed Nov 9, 2018
1 parent 08c51ff commit 29cfe7a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions repository/filepicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 29cfe7a

Please sign in to comment.