forked from extern/egroupware
Fix select all action breaks filemanager's contextmenu
This commit is contained in:
parent
cb5b35e2d0
commit
599393ffbe
@ -1067,6 +1067,8 @@ var filemanagerAPP = /** @class */ (function (_super) {
|
||||
* Needs to be a directory
|
||||
*/
|
||||
filemanagerAPP.prototype.hidden_upload_enabled = function (_action, _senders) {
|
||||
if (_senders[0].id == 'nm')
|
||||
return false;
|
||||
var data = egw.dataGetUIDdata(_senders[0].id);
|
||||
var readonly = (data.data.class || '').split(/ +/).indexOf('noEdit') >= 0;
|
||||
// symlinks dont have mime 'http/unix-directory', but server marks all directories with class 'isDir'
|
||||
|
@ -1287,6 +1287,7 @@ export class filemanagerAPP extends EgwApp
|
||||
*/
|
||||
hidden_upload_enabled(_action: egwAction, _senders: egwActionObject[])
|
||||
{
|
||||
if (_senders[0].id == 'nm') return false;
|
||||
let data = egw.dataGetUIDdata(_senders[0].id);
|
||||
let readonly = (data.data.class || '').split(/ +/).indexOf('noEdit') >= 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user