Disable autostore for owned pads

pull/1/head
yflory 4 years ago
parent 629eb48562
commit a69fb1fae9

@ -1157,7 +1157,7 @@ define([
// Add the pad if it does not exist in our drive
if (!contains) { // || (ownedByMe && !inMyDrive)) {
var autoStore = Util.find(store.proxy, ['settings', 'general', 'autostore']);
if (autoStore !== 1 && !data.forceSave && !data.path && !ownedByMe) {
if (autoStore !== 1 && !data.forceSave && !data.path) {// && !ownedByMe) {
// send event to inner to display the corner popup
postMessage(clientId, "AUTOSTORE_DISPLAY_POPUP", {
autoStore: autoStore

Loading…
Cancel
Save