summaryrefslogtreecommitdiffstats
path: root/ecomp-portal-FE-common/client/bower_components_external/b2b/js/b2b-angular/README.md
blob: 8c30ec552232aff430bcd071d98f50e37d7197fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
This file tracks patches to b2b-angular.js

24 April 2017: hide header menu when click on iframe in a new tab
+
$(window).blur(function() {
                	if(scope.showMenu){
               	 	 scope.showMenu = false;
                     elem.removeClass('active');
                     scope.$apply();
               	 	}
                });

20 March 2017: Page auto adjustment with left menu collapse and expand.
+
scope.toggleDrawer = function(showmenu){
	scope.idx=-1; /*hide the sunmenus*/
	if(showmenu){
		document.getElementById('page-content').style.paddingLeft = "50px";
	}
	else
		document.getElementById('page-content').style.paddingLeft = "230px";           	
};