Hello All,
I added some javascript Code in Core.Agent.TicketProcess.js for making some Dynamic Fields Read Only.
My code worked fine.
However, I noticed that I was getting the following error in console.
Error while parsing the 'sandbox' attribute: 'ms-allow-popups' is an invalid sandbox flag in otrs/index.pl?Action=AgentTicketZoom;TicketID=49
I am not able to understand how this occurred.
I removed the my code but still same issue.
Are we not suppose to change the js files ?
Can anyone please help.
M stuck here.
Error while parsing the 'sandbox' attribute: 'ms-allow-popups' is an invalid sandbox flag
Moderator: crythias
Re: Error while parsing the 'sandbox' attribute: 'ms-allow-popups' is an invalid sandbox flag
Hi,
i have the same problem here with v6
Error while parsing the 'sandbox' attribute: 'ms-allow-popups' is an invalid sandbox flag.
What could be the reason?
Regards,
Ahmet
i have the same problem here with v6
Error while parsing the 'sandbox' attribute: 'ms-allow-popups' is an invalid sandbox flag.
What could be the reason?
Regards,
Ahmet
Re: Error while parsing the 'sandbox' attribute: 'ms-allow-popups' is an invalid sandbox flag
edit: Kernel/Output/HTML/Templates/Standard/AgentTicketZoom/ArticleRender/MIMEBase.tt
find code
remove:
find code
Code: Select all
<iframe sandbox="allow-same-origin allow-popups ms-allow-popups allow-popups allow-popups-to-escape-sandbox" width="100%" frameborde r="0" id="Iframe[% Data.ArticleID | html %]" onload="window.setTimeout( function (){ CheckIFrameHeight('Iframe[% Data.ArticleID | html % ]'); }, 500);" src="[% Env("Baselink") %]Action=AgentTicketArticleContent;Subaction=HTMLView;TicketID=[% Data.TicketID | html %];Article ID=[% Data.ArticleID | html %];FileID=[% Data.HTMLBodyAttachmentID | html %];[% IF !Config("SessionUseCookie") %][% Env("SessionName") | html %]=[% Env("SessionID") | html %][% END %]"></iframe>
Code: Select all
ms-allow-popups
OTRS 中文用户 QQ 群: 157191248
-
- Znuny superhero
- Posts: 889
- Joined: 15 Dec 2016, 15:13
- Znuny Version: All
- Real Name: Emin
- Company: Efflux GmbH
- Contact:
Re: Error while parsing the 'sandbox' attribute: 'ms-allow-popups' is an invalid sandbox flag
Hello,
Just for your information: you don't have to remove this flag, as Chrome only tells you that it doesn't know what to do with it.
No harm at all – just an ugly message.
Best regards
Emin
Just for your information: you don't have to remove this flag, as Chrome only tells you that it doesn't know what to do with it.
No harm at all – just an ugly message.
Best regards
Emin
Professional OTRS, Znuny & OTOBO services: efflux.de | efflux.de/en/
Free and premium add-ons: German | English
Free and premium add-ons: German | English