This is an automated email from the ASF dual-hosted git repository.

heneveld pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/brooklyn-ui.git


The following commit(s) were added to refs/heads/master by this push:
     new e5fd9fe6 fix bug where ad hoc locations might be ignored
e5fd9fe6 is described below

commit e5fd9fe6cc20fa3113494d5d7ddfb2bd18d34d92
Author: Alex Heneveld <[email protected]>
AuthorDate: Thu Dec 8 16:06:21 2022 +0000

    fix bug where ad hoc locations might be ignored
---
 .../app/components/catalog-selector/catalog-selector.directive.js      | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/ui-modules/blueprint-composer/app/components/catalog-selector/catalog-selector.directive.js
 
b/ui-modules/blueprint-composer/app/components/catalog-selector/catalog-selector.directive.js
index 86b04043..c5db9b14 100644
--- 
a/ui-modules/blueprint-composer/app/components/catalog-selector/catalog-selector.directive.js
+++ 
b/ui-modules/blueprint-composer/app/components/catalog-selector/catalog-selector.directive.js
@@ -147,6 +147,7 @@ export function catalogSelectorDirective() {
             $scope.freeFormTile = {
                 symbolicName: $scope.search,
                 name: $scope.search,
+                id: $scope.search,
                 displayName: $scope.search,
                 supertypes: ($scope.family ? [ $scope.family.superType ] : []),
             };
@@ -215,7 +216,7 @@ export function catalogSelectorDirective() {
                 $scope.popoverVisible = true;
                 $scope.popoverModal = true;
             }
-            $event.stopPropagation();
+            if ($event) $event.stopPropagation();
         };
         $scope.closePopover = () => {
             $scope.popoverVisible = false;

Reply via email to