diff --git a/scripts/system/create/entitySelectionTool/entitySelectionTool.js b/scripts/system/create/entitySelectionTool/entitySelectionTool.js index 9c377fc9e6..b3559b3a67 100644 --- a/scripts/system/create/entitySelectionTool/entitySelectionTool.js +++ b/scripts/system/create/entitySelectionTool/entitySelectionTool.js @@ -496,12 +496,15 @@ SelectionManager = (function() { that.createApp.deleteSelectedEntities(); }; - that.copyIdFromSelectedEntity = function() { - if (that.selections.length !== 1) { + that.copyIdsFromSelectedEntities = function() { + if (that.selections.length === 0) { audioFeedback.rejection(); - } else { + } else if (that.selections.length === 1) { Window.copyToClipboard(that.selections[0]); audioFeedback.confirmation(); + } else { + Window.copyToClipboard(JSON.stringify(that.selections)); + audioFeedback.confirmation(); } };