File tree 1 file changed +2
-3
lines changed
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -860,7 +860,6 @@ function UIItem(options){
860
860
} )
861
861
}
862
862
} ) ;
863
-
864
863
// -------------------------------------------
865
864
// Copy
866
865
// -------------------------------------------
@@ -1243,7 +1242,7 @@ function UIItem(options){
1243
1242
// -------------------------------------------
1244
1243
// Cut
1245
1244
// -------------------------------------------
1246
- if ( $ ( el_item ) . attr ( 'data-immutable' ) === '0' ) {
1245
+ if ( $ ( el_item ) . attr ( 'data-immutable' ) === '0' && ! is_shared_with_me ) {
1247
1246
menu_items . push ( {
1248
1247
html : i18n ( 'cut' ) ,
1249
1248
onClick : function ( ) {
@@ -1312,7 +1311,7 @@ function UIItem(options){
1312
1311
// -------------------------------------------
1313
1312
// Delete
1314
1313
// -------------------------------------------
1315
- if ( $ ( el_item ) . attr ( 'data-immutable' ) === '0' && ! is_trashed ) {
1314
+ if ( $ ( el_item ) . attr ( 'data-immutable' ) === '0' && ! is_trashed && ! is_shared_with_me ) {
1316
1315
menu_items . push ( {
1317
1316
html : i18n ( 'delete' ) ,
1318
1317
onClick : async function ( ) {
You can’t perform that action at this time.
0 commit comments