Yangman - Show all items box showed for a moment 55/44055/6
authormichal.kovacik <mikovaci@cisco.com>
Tue, 16 Aug 2016 10:05:29 +0000 (12:05 +0200)
committerDaniel Malachovsky <dmalacho@cisco.com>
Thu, 18 Aug 2016 14:57:27 +0000 (16:57 +0200)
- Bug 6435 - YangMan -"Show all items" box flicks when yangmenu
  is entered after having entered and then exited "Show all items box"

Change-Id: I5f8f77396d2c688b514985f45eadf7e6a1621b1d
Signed-off-by: michal.kovacik <mikovaci@cisco.com>
modules/yangman-resources/src/main/resources/yangman/directives/yang-form-menu.directive.js
modules/yangman-resources/src/main/resources/yangman/views/directives/yang-form-menu.tpl.html

index fc8ebb582fd1b5e5b6bd92168c17efa9c41e7480..585f4e4c9ff47977bf361d9dbcc3dd2b423e5d7a 100644 (file)
@@ -53,6 +53,7 @@ define(['angular'], function (angular) {
                  */
                 function hideInfoBox(){
                     $scope.infoBox = false;
+                    angular.element('#infoBox').addClass('ng-hide');
                 }
 
                 $scope.$on('hideInfoBox', function () {
index 547889f8d1fc3fd2275744124fb8c863628ab314..129fffe18290f265fda0456eec67277ba3d3ecf3 100644 (file)
@@ -41,7 +41,7 @@
         </div>
 
         <!-- info box -->
-        <div class="md-whiteframe-z2 info-box" ng-show="infoBox" ng-switch="infoBoxSection">
+        <div id="infoBox" class="md-whiteframe-z2 info-box" ng-show="infoBox" ng-switch="infoBoxSection">
             <div ng-switch-when="augmentations">
                 <md-list flex>
                     <md-list-item ng-repeat="augmentation in node.augmentionGroups">