diff --git a/scripts/apps/ingest/services/SendService.ts b/scripts/apps/ingest/services/SendService.ts index 686d5a027a..3837c6d39e 100644 --- a/scripts/apps/ingest/services/SendService.ts +++ b/scripts/apps/ingest/services/SendService.ts @@ -212,10 +212,13 @@ export function SendService( $rootScope.$broadcast('item:update', {item: _item}); return _item; }); - } else if (!item.lock_user) { + } else { return api.save('move', {}, {task: data, allPackageItems: config.sendAllPackageItems}, item) .then((_item) => { $rootScope.$broadcast('item:update', {item: _item}); + if (item.lock_user !== null && getAuthoringWorkspace().getItem()._id === item._id) { + getAuthoringWorkspace().close(); + } if (config.open) { getAuthoringWorkspace().edit(_item); }