mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-12 19:49:59 +05:00
parent
5a604ecf52
commit
addb9254a4
@ -908,7 +908,7 @@ define([
|
||||
// We should know it because the pad is stored, but it's better to check...
|
||||
//if (!data.noEditPassword && !opts.noEditPassword && owned && data.href) {
|
||||
if (!data.noEditPassword && !opts.noEditPassword && owned && data.href && parsed.type !== "form") { // TODO password change in forms block responses (validation & decryption)
|
||||
var isOO = parsed.type === 'sheet';
|
||||
var isOO = ['sheet', 'doc', 'presentation'].includes(parsed.type);
|
||||
var isFile = parsed.hashData.type === 'file';
|
||||
var isSharedFolder = parsed.type === 'drive';
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user