Fixed click on filtered files in Open Document panel
This commit is contained in:
parent
d861987d9b
commit
7085c8b13a
@ -99,7 +99,7 @@ define([
|
|||||||
documentListFilteredElt.innerHTML = documentListFilteredHtml;
|
documentListFilteredElt.innerHTML = documentListFilteredHtml;
|
||||||
|
|
||||||
// Add click listeners
|
// Add click listeners
|
||||||
_.each(documentListElt.querySelectorAll('.file'), function(fileElt) {
|
_.each(panelElt.querySelectorAll('.file'), function(fileElt) {
|
||||||
var $fileElt = $(fileElt);
|
var $fileElt = $(fileElt);
|
||||||
$fileElt.click(function(e) {
|
$fileElt.click(function(e) {
|
||||||
var fileDesc = fileSystem[$fileElt.data('fileIndex')];
|
var fileDesc = fileSystem[$fileElt.data('fileIndex')];
|
||||||
|
Loading…
Reference in New Issue
Block a user