From 126b78ef97d5f416c4662c76a54193790a371756 Mon Sep 17 00:00:00 2001 From: amrita.vishnoi Date: Thu, 29 Sep 2016 13:49:17 +0530 Subject: [PATCH] dispatching event from gender Switch too --- 400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js | 8 +++----- 400-SOURCECODE/AIAHTML5.Web/app/views/da/da-view.html | 4 ++-- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js index 1e31cd2..d8f1160 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js @@ -5602,7 +5602,7 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo } - $scope.OnGenderChange = function (gender) { + $scope.OnGenderChange = function (event) { @@ -5621,8 +5621,6 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo // $rootScope.isHighlightBodyByBodySystem = false; - - $rootScope.isLoading = true; $('#spinner').css('visibility', 'visible'); @@ -7889,12 +7887,12 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo ); -function OnGenderChange(gender) { +function OnGenderChange(event) { console.log('gender chnaged is called outside '); var scope = angular.element(document.getElementById("daView")).scope(); scope.$apply(function () { - scope.OnGenderChange(gender); + scope.OnGenderChange(event); }); } diff --git a/400-SOURCECODE/AIAHTML5.Web/app/views/da/da-view.html b/400-SOURCECODE/AIAHTML5.Web/app/views/da/da-view.html index 6ed1dc9..5313148 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/views/da/da-view.html +++ b/400-SOURCECODE/AIAHTML5.Web/app/views/da/da-view.html @@ -208,12 +208,12 @@