Skip to content

Commit

Permalink
Merge pull request #536 from Wirecloud/oxixes-patch-1
Browse files Browse the repository at this point in the history
Fix errors showing on console when Wirecloud is loaded as an iframe
  • Loading branch information
aarranz committed Mar 14, 2024
2 parents 01e171a + cf0349f commit 247b900
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/wirecloud/platform/static/js/wirecloud/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@

"use strict";

window.parent = window; // Avoid problems with embedded Wirecloud instances

const preferencesChanged = function preferencesChanged(preferences, modifiedValues) {
/* istanbul ignore if */
if ('language' in modifiedValues) {
Expand Down

0 comments on commit 247b900

Please sign in to comment.