If Wirecloud was loaded as an iframe, some errors would show up in the console. This simple fix solves that problem by making the window object behave as if it wasn't in an iframe.
Types of changes
What types of changes does your code introduce to the project: Put an x in the boxes that apply
[x] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of
them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before
merging your code.
coverage: 88.984%. remained the same
when pulling cf0349fc2db99b7071484d2b2b454b4ea285a970 on oxixes-patch-1
into 01e171aa34fcf4b81b39c4aae8734b931bc35cb9 on develop.
Proposed changes
If Wirecloud was loaded as an iframe, some errors would show up in the console. This simple fix solves that problem by making the window object behave as if it wasn't in an iframe.
Types of changes
What types of changes does your code introduce to the project: Put an
x
in the boxes that applyChecklist
Put an
x
in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.Further comments
None