We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6f8b28a commit dbd2629Copy full SHA for dbd2629
AzureFunctions.AngularClient/src/app/shared/services/portal.service.ts
@@ -359,13 +359,13 @@ export class PortalService {
359
}
360
361
private postMessage(verb: string, data: string) {
362
- if (PortalService.inIFrame()) {
+ if (Url.getParameterByName(null, 'appsvc.bladetype') === 'appblade') {
363
window.parent.postMessage(<Data>{
364
signature: this.portalSignature,
365
kind: verb,
366
data: data
367
}, this.shellSrc);
368
-
+ } else {
369
370
signature: this.portalSignatureFrameBlade,
371
0 commit comments