From a7f89312d9627321f8d5fb73c20461b18f5bf561 Mon Sep 17 00:00:00 2001 From: nikita Date: Wed, 7 Dec 2016 15:42:53 +0530 Subject: [PATCH] modesty image is set in all cases for both gender. Need o work on transparency and z index for resizable --- 400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js index d727321..eab1cd9 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js @@ -4066,7 +4066,11 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo HeightforTransImage = Height; //alert('Y ' + Y) - YforTransImage = parseFloat(Y) - parseInt(TransparencyBoxStartY)//parseFloat(Y) - (24.4); + if ($rootScope.isModestyOn == true && (bodyRegionId.match('modestyImg'))) { + YforTransImage = 0; + } + else + YforTransImage = parseFloat(Y) - parseInt(TransparencyBoxStartY)//parseFloat(Y) - (24.4); // alert('5') } else if (TransparencyBoxStartY < Y && TransparencyBoxEndY < (parseInt(Y) + parseInt(Height))) { @@ -4076,6 +4080,10 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo HeightforTransImage = (parseInt(TransparencyBoxEndY)) - parseInt(Y)// - parseInt(scope.TransparencyBoxStartY)); + if ($rootScope.isModestyOn == true && (bodyRegionId.match('modestyImg'))) { + YforTransImage = 0; + } + else YforTransImage = parseFloat(Y) - parseInt(TransparencyBoxStartY);// - (24.4); } -- libgit2 0.21.4