From 02f91246a406839cb3763c2ddae6f20473bda150 Mon Sep 17 00:00:00 2001 From: Ioan-Vasile Pocol Date: Tue, 20 Nov 2018 15:40:05 +0200 Subject: [PATCH] fix(package move): Fix the show of contextual menu for published items moved along with parent package (SDFID-372) --- scripts/apps/authoring/authoring/services/AuthoringService.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/apps/authoring/authoring/services/AuthoringService.js b/scripts/apps/authoring/authoring/services/AuthoringService.js index 5805684b6a..861ba7838e 100644 --- a/scripts/apps/authoring/authoring/services/AuthoringService.js +++ b/scripts/apps/authoring/authoring/services/AuthoringService.js @@ -418,7 +418,7 @@ export function AuthoringService($q, $location, api, lock, autosave, confirm, pr if (self.isPublished(currentItem)) { // if not the last published version if (angular.isDefined(item.archive_item) && - item._current_version !== item.archive_item._current_version) { + item._current_version !== item.archive_item._current_version && item.operation !== 'move') { return angular.extend({}, helpers.DEFAULT_ACTIONS); }