From d718bfda01423f895176147bbb656d3eaad8902b Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Thu, 25 Oct 2018 09:50:23 +0200 Subject: [PATCH] EXECUTING_AT refactored to window.canvasApp.executingAt --- BottomSpace/KeyVaultModule.js | 2 +- BottomSpace/TeamsModule.js | 2 +- BottomSpace/UsersModule.js | 2 +- TopSpace/CompanyLogo.js | 2 +- index.html | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/BottomSpace/KeyVaultModule.js b/BottomSpace/KeyVaultModule.js index 108c7c00e..f86974bba 100644 --- a/BottomSpace/KeyVaultModule.js +++ b/BottomSpace/KeyVaultModule.js @@ -38,7 +38,7 @@ function newKeyVaultModule() { if (INFO_LOG === true) { logger.write("[INFO] initialize -> Entering function."); } - if (window.EXECUTING_AT === 'Master App') { + if (window.canvasApp.executingAt === 'Master App') { return; } diff --git a/BottomSpace/TeamsModule.js b/BottomSpace/TeamsModule.js index 92f0b49ab..c90eca193 100644 --- a/BottomSpace/TeamsModule.js +++ b/BottomSpace/TeamsModule.js @@ -38,7 +38,7 @@ function newTeamsModule() { if (INFO_LOG === true) { logger.write("[INFO] initialize -> Entering function."); } - if (window.EXECUTING_AT === 'Master App') { + if (window.canvasApp.executingAt === 'Master App') { return; } diff --git a/BottomSpace/UsersModule.js b/BottomSpace/UsersModule.js index 98ecf4f06..ec8689c22 100644 --- a/BottomSpace/UsersModule.js +++ b/BottomSpace/UsersModule.js @@ -38,7 +38,7 @@ function newUsersModule() { if (INFO_LOG === true) { logger.write("[INFO] initialize -> Entering function."); } - if (window.EXECUTING_AT === 'Master App') { + if (window.canvasApp.executingAt === 'Master App') { return; } diff --git a/TopSpace/CompanyLogo.js b/TopSpace/CompanyLogo.js index 371c4ece4..a44d1bf37 100644 --- a/TopSpace/CompanyLogo.js +++ b/TopSpace/CompanyLogo.js @@ -27,7 +27,7 @@ function newCompanyLogo() { function initialize() { - if (window.EXECUTING_AT === 'Master App') { + if (window.canvasApp.executingAt === 'Master App') { currentLabel = ""; return; } diff --git a/index.html b/index.html index 7797a5f94..3c432b1aa 100644 --- a/index.html +++ b/index.html @@ -21,7 +21,7 @@ } window.canvasApp.sessionToken = ''; - window.EXECUTING_AT = 'Master App'; + window.canvasApp.executingAt = 'Master App'; window.TOP_MARGIN = 85; window.CANVAS_VISIBLE = true; window.URL_PREFIX = 'https://develop.advancedalgos.net/';