mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-06 23:15:34 +08:00
Automatic redirection to the O365 sign-in page business user flow
Hotfix for supporting O365 update on 19th November 2018. See SCI-2853.
This commit is contained in:
parent
0be2fa36f0
commit
5c3ad3fcc7
2 changed files with 4 additions and 0 deletions
|
@ -53,6 +53,8 @@
|
|||
// This attribute allows true fullscreen mode in slideshow view
|
||||
// when using PowerPoint Online's 'view' action.
|
||||
office_frame.setAttribute('allowfullscreen', 'true');
|
||||
// The sandbox attribute is needed to allow automatic redirection to the O365 sign-in page in the business user flow
|
||||
office_frame.setAttribute('sandbox', 'allow-scripts allow-same-origin allow-forms allow-popups allow-top-navigation allow-popups-to-escape-sandbox');
|
||||
frameholder.appendChild(office_frame);
|
||||
document.getElementById('office_form').submit();
|
||||
</script>
|
||||
|
|
|
@ -53,6 +53,8 @@
|
|||
// This attribute allows true fullscreen mode in slideshow view
|
||||
// when using PowerPoint Online's 'view' action.
|
||||
office_frame.setAttribute('allowfullscreen', 'true');
|
||||
// The sandbox attribute is needed to allow automatic redirection to the O365 sign-in page in the business user flow
|
||||
office_frame.setAttribute('sandbox', 'allow-scripts allow-same-origin allow-forms allow-popups allow-top-navigation allow-popups-to-escape-sandbox');
|
||||
frameholder.appendChild(office_frame);
|
||||
document.getElementById('office_form').submit();
|
||||
</script>
|
||||
|
|
Loading…
Reference in a new issue