Merge branch 'soon' of github.com:xwiki-labs/cryptpad into soon
commit
492e9496c8
www/common
|
@ -1184,7 +1184,7 @@ define([
|
|||
if (!metadata || !Util.isPlainTextFile(metadata.fileType, metadata.title)) {
|
||||
hide.push('openincode');
|
||||
}
|
||||
if (!metadata.channel || metadata.channel.length > 32) {
|
||||
if (!metadata.channel || metadata.channel.length > 32 || metadata.rtChannel) {
|
||||
hide.push('makeacopy'); // Not for blobs
|
||||
}
|
||||
} else if ($element.is('.cp-app-drive-element-sharedf')) {
|
||||
|
|
Loading…
Reference in New Issue