Fix access modal in drive

pull/1/head
yflory 5 years ago
parent 97f9244efd
commit 872e636ac5

@ -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;

Loading…
Cancel
Save