Fix secure iframes on Edge

This commit is contained in:
yflory
2017-09-08 15:54:54 +02:00
parent 290d668ceb
commit 05793c220c
6 changed files with 27 additions and 10 deletions

View File

@@ -1263,7 +1263,8 @@ define([
if (APP.mobile() && !noStyle) { // noStyle means title in search result
return $container;
}
var el = path[0] === SEARCH ? undefined : filesOp.find(path);
var isVirtual = virtualCategories.indexOf(path[0]) !== -1;
var el = isVirtual ? undefined : filesOp.find(path);
path = path[0] === SEARCH ? path.slice(0,1) : path;
path.forEach(function (p, idx) {
if (isTrash && [2,3].indexOf(idx) !== -1) { return; }