change wording for common case

This commit is contained in:
howard-stearns 2017-01-05 16:37:40 -08:00
parent f5c4535115
commit 83685740c4

View file

@ -129,7 +129,9 @@ EntityListTool = function(opts) {
}
});
var dedupped = Object.keys(sessionIds);
if (!dedupped.length) {
if (!selectionManager.selections.length) {
Window.alert('No objects selected.');
} else if (!dedupped.length) {
Window.alert('There were no recent users of the ' + selectionManager.selections.length + ' selected objects.');
} else {
// No need to subscribe if we're just sending.