addbd91b9b8974221d024e03a65a79f7cea435c9
[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 };
23
24 26 May 2017 : Changed b2b sort icons
25 +
26 "<i ng-class=\"{'icon-controls-upPRIMARY active': sortPattern === 'ascending', 'icon-controls-down active down': sortPattern === 'descending'}\"></i>\n"