provide feedback when nodrive mode is used

pull/1/head
ansuz 4 years ago
parent e5ece01b2c
commit b327907fdf

@ -2028,7 +2028,7 @@ define([
});
};
var launchedWithNoDrive = false;
var provideFeedback = function () {
if (typeof(window.Proxy) === 'undefined') {
Feedback.send("NO_PROXIES");
@ -2065,6 +2065,9 @@ define([
if (!common.hasCSSVariables()) {
Feedback.send('NO_CSS_VARIABLES');
}
if (launchedWithNoDrive) {
Feedback.send('NO_DRIVE');
}
Feedback.reportScreenDimensions();
Feedback.reportLanguage();
@ -2294,6 +2297,10 @@ define([
};
common.userHash = userHash;
if (rdyCfg.noDrive) {
launchedWithNoDrive = true;
}
// FIXME Backward compatibility
if (sessionStorage.newPadFileData) {
common.fromFileData = JSON.parse(sessionStorage.newPadFileData);

Loading…
Cancel
Save