[PORTAL-7] Rebase
[portal.git] / ecomp-portal-FE-common / client / bower_components_external / b2b / js / b2b-angular / README.md
1 This file tracks patches to b2b-angular.js
2
3 24 April 2017: hide header menu when click on iframe in a new tab
4 +
5 $(window).blur(function() {
6                         if(scope.showMenu){
7                          scope.showMenu = false;
8                      elem.removeClass('active');
9                      scope.$apply();
10                         }
11                 });
12
13 20 March 2017: Page auto adjustment with left menu collapse and expand.
14 +
15 scope.toggleDrawer = function(showmenu){
16         scope.idx=-1; /*hide the sunmenus*/
17         if(showmenu){
18                 document.getElementById('page-content').style.paddingLeft = "50px";
19         }
20         else
21                 document.getElementById('page-content').style.paddingLeft = "230px";            
22 };