mirror of https://github.com/xwiki-labs/cryptpad
Disable autostore for owned pads
This commit is contained in:
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…
Reference in New Issue