Commit b7215b93 authored by Oleg Korshul's avatar Oleg Korshul Committed by Alexander.Trofimov

allow-same-origin

parent 9aa330f0
......@@ -578,7 +578,7 @@ CClipboardBase.prototype =
ifr.style.height = '100px';
ifr.style.overflow = 'hidden';
ifr.style.zIndex = -1000;
ifr.setAttribute("sandbox", "");
ifr.setAttribute("sandbox", "allow-same-origin");
document.body.appendChild(ifr);
this.CommonIframe = ifr;
......
......@@ -2374,7 +2374,7 @@ function Body_Paste(api, e)
ifr.style.height = '100px';
ifr.style.overflow = 'hidden';
ifr.style.zIndex = -1000;
ifr.setAttribute("sandbox", "");
ifr.setAttribute("sandbox", "allow-same-origin");
document.body.appendChild(ifr);
}
else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment