diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
index 6a439d6..b47358a 100644
--- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
+++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
@@ -611,11 +611,11 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l
}
- if ($('#daImagePanel').offset().top == 0)
- $('#daImagePanel').css("top", '70px');
+ // if ($('#daImagePanel').offset().top == 0)
+ // $('#daImagePanel').css("top", '70px');
- if ($('#daImagePanel').offset().left == 0)
- $('#daImagePanel').css("left", '1px');
+ //if ($('#daImagePanel').offset().left == 0)
+ // $('#daImagePanel').css("left", '1px');
}, 350);
}
diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js
index 0c238af..fcb29dd 100644
--- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js
+++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js
@@ -261,8 +261,11 @@ function ($rootScope, $scope, Modules, $log, $location, $timeout, DataService, A
modesty: "Y"
}
$rootScope.UpdateAndCloseSetting($rootScope.formsetting)
+
+
}
//code for modesty setting
+ $rootScope.aiaModesty = $rootScope.formsetting.modesty;
if (typeof result.LoginId != undefined || result.LoginId != "" || result.LoginId != null) {
@@ -639,8 +642,9 @@ function ($rootScope, $scope, Modules, $log, $location, $timeout, DataService, A
$rootScope.UpdateAndCloseSetting($rootScope.formsetting)
}
//code for modesty setting
+ $rootScope.aiaModesty = $rootScope.formsetting.modesty;
- $rootscope.siteId = result.siteId;
+ $rootScope.siteId = result.siteId;
// birendra// initialize exp img detail object
$rootScope.initializeUserForExportImage(result.Id);
@@ -678,7 +682,13 @@ function ($rootScope, $scope, Modules, $log, $location, $timeout, DataService, A
}
else {
- if (result.LicenseInfo != null ) {
+ if (result.LicenseInfo != null) {
+
+ // set license id
+ $scope.UpdateUserExportImageData(result.Id, 'LicenseId', result.LicenseId)
+
+ // set license type :note 5 for demo/test license
+ $scope.UpdateUserExportImageData(result.Id, 'LicenseTypeId', result.LicenseInfo.LicenseTypeId);
if(result.UserExportImageDetail!=null)
{
@@ -5107,6 +5117,7 @@ function ($rootScope, $scope, Modules, $log, $location, $timeout, DataService, A
if (currentmodsetting == 'Y') {
$rootScope.isModestyOn = true;
$rootScope.isModestyOff = false;
+
}
else {
$rootScope.isModestyOn = false;
@@ -5158,9 +5169,13 @@ function ($rootScope, $scope, Modules, $log, $location, $timeout, DataService, A
}
- $rootScope.ChangeModesty = function (formsetting, modestyValue) {
- formsetting.modesty = modestyValue;
- $rootScope.setModestySettings(formsetting.modesty);
+ $rootScope.ChangeModesty = function (modestyValue) {
+ //formsetting.modesty = modestyValue;
+ $rootScope.setModestySettings(modestyValue);
+
+ //code for modesty setting
+ $rootScope.formsetting.modesty = modestyValue;
+ $rootScope.aiaModesty = $rootScope.formsetting.modesty;
}
$rootScope.isApplyBtnClicked = false;
@@ -5296,7 +5311,7 @@ function ($rootScope, $scope, Modules, $log, $location, $timeout, DataService, A
$rootScope.ChangeEthnicity(setting, setting.ethnicity);
}
if (typeof (setting.modesty) !== "undefined" && setting.modesty !== null) {
- $rootScope.ChangeModesty(setting, setting.modesty);
+ $rootScope.ChangeModesty(setting.modesty);
}
//2.
diff --git a/400-SOURCECODE/AIAHTML5.Web/app/widget/MainMenu.html b/400-SOURCECODE/AIAHTML5.Web/app/widget/MainMenu.html
index ab61140..af20a6e 100644
--- a/400-SOURCECODE/AIAHTML5.Web/app/widget/MainMenu.html
+++ b/400-SOURCECODE/AIAHTML5.Web/app/widget/MainMenu.html
@@ -31,8 +31,8 @@
-
-
+