Etemplate: Fix rows actions didn't work after dragging file from system onto row

This commit is contained in:
nathangray 2021-02-08 14:44:55 -07:00
parent d2a2ae49e3
commit 0d7a4bb848
2 changed files with 3 additions and 2 deletions

View File

@ -16,6 +16,7 @@
egw_action.egw_keymanager;
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.et2_dataview_selectionManager = void 0;
/**
* The selectioManager is internally used by the et2_dataview_controller class
* to manage the row selection.
@ -344,7 +345,7 @@ var et2_dataview_selectionManager = /** @class */ (function () {
break;
}
}
if (_links) {
if (_links.length) {
this._attachActionObjectInterface(_entry, null, _entry.uid);
this._attachActionObject(_entry, null, _entry.uid, _links, _entry.idx);
}

View File

@ -500,7 +500,7 @@ export class et2_dataview_selectionManager
break;
}
}
if(_links)
if(_links.length)
{
this._attachActionObjectInterface(_entry, null, _entry.uid);
this._attachActionObject(_entry, null, _entry.uid, _links, _entry.idx);