Skip to content

Commit dbd2629

Browse files
authored
Fixing iframe signature that we send to Ibiza (#2520)
1 parent 6f8b28a commit dbd2629

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

AzureFunctions.AngularClient/src/app/shared/services/portal.service.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -359,13 +359,13 @@ export class PortalService {
359359
}
360360

361361
private postMessage(verb: string, data: string) {
362-
if (PortalService.inIFrame()) {
362+
if (Url.getParameterByName(null, 'appsvc.bladetype') === 'appblade') {
363363
window.parent.postMessage(<Data>{
364364
signature: this.portalSignature,
365365
kind: verb,
366366
data: data
367367
}, this.shellSrc);
368-
368+
} else {
369369
window.parent.postMessage(<Data>{
370370
signature: this.portalSignatureFrameBlade,
371371
kind: verb,

0 commit comments

Comments
 (0)