send feedback on noDrive and conversion from noDrive

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

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

@ -3068,14 +3068,19 @@ define([
if (obj.error === 'GET_HK') {
data.noDrive = false;
Store.init(clientId, data, _callback);
Feedback.send("NO_DRIVE_ERROR", true);
return;
}
}
Feedback.send("NO_DRIVE", true);
callback(obj);
});
}
initialized = true;
if (store.noDriveUid) {
Feedback.send('NO_DRIVE_CONVERSION', true);
}
store.data = data;
connect(clientId, data, function (ret) {

Loading…
Cancel
Save