Bump versions by x.(y+1).z for next dev cycle
[dlux.git] / modules / yangman-resources / src / main / resources / yangman / directives / yang-form-menu.directive.js
index 7b09b06c52eca96fe9bcdfe572b9a70a66d29343..e5ba8b48ffea5524449456f95d3f0ec9b672ee0a 100644 (file)
@@ -53,7 +53,12 @@ define(['angular'], function (angular) {
                  */
                 function hideInfoBox(){
                     $scope.infoBox = false;
+                    angular.element('#infoBox').addClass('ng-hide');
                 }
+
+                $scope.$on('hideInfoBox', function () {
+                    hideInfoBox();
+                });
             },
             link: function (scope, element, attrs) {
                 scope.isActive = false;
@@ -67,6 +72,7 @@ define(['angular'], function (angular) {
                  */
                 function closeMenu(){
                     scope.isActive = false;
+                    scope.hideInfoBox();
                 }
 
                 /**