diff --git a/www/common/sframe-common-outer.js b/www/common/sframe-common-outer.js index aef3d3656..849bf6415 100644 --- a/www/common/sframe-common-outer.js +++ b/www/common/sframe-common-outer.js @@ -395,6 +395,7 @@ define([ var forceCreationScreen = cfg.useCreationScreen && sessionStorage[Utils.Constants.displayPadCreationScreen]; delete sessionStorage[Utils.Constants.displayPadCreationScreen]; + var isSafe = ['debug', 'profile', 'drive'].indexOf(currentPad.app) !== -1; var updateMeta = function () { //console.log('EV_METADATA_UPDATE'); var metaObj; @@ -459,7 +460,7 @@ define([ additionalPriv.registeredOnly = true; } - if (['debug', 'profile'].indexOf(currentPad.app) !== -1) { + if (isSafe) { additionalPriv.hashes = hashes; } @@ -620,7 +621,7 @@ define([ }); }; - addCommonRpc(sframeChan); + addCommonRpc(sframeChan, isSafe); var currentTitle; var currentTabTitle;