mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-09 11:03:05 +00:00
[CSTPER-3782] custom move events handled correctly
This commit is contained in:
@@ -448,4 +448,17 @@ export class SubmissionSectionformComponent extends SectionModelComponent {
|
||||
isFieldToRemove(fieldId, index) {
|
||||
return this.fieldsOnTheirWayToBeRemoved.has(fieldId) && this.fieldsOnTheirWayToBeRemoved.get(fieldId).includes(index);
|
||||
}
|
||||
|
||||
/**
|
||||
* Handle the customEvent (ex. drag-drop move event).
|
||||
* The customEvent is stored inside event.$event
|
||||
* @param $event
|
||||
*/
|
||||
onCustomEvent(event: any) {
|
||||
this.formOperationsService.dispatchOperationsFromEvent(
|
||||
this.pathCombiner,
|
||||
event,
|
||||
null,
|
||||
null);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user