From 542cd7aa8d8aaa8058978c580abb3a9f7ec568e7 Mon Sep 17 00:00:00 2001 From: nikita Date: Wed, 16 Nov 2016 21:57:58 +0530 Subject: [PATCH] This issue is fixed. Need to test on IE. --- 400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js | 14 +++++++------- 400-SOURCECODE/AIAHTML5.Web/index.html | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js index 111f7f4..9262b75 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js @@ -6916,12 +6916,12 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo $('#bodySystems').empty(); - var $all = $('').appendTo('#bodySystems'); + var $all = $('').appendTo('#bodySystems'); $compile($all)($scope); angular.forEach(systemList, function (value, key) { - var $elem = $('').appendTo('#bodySystems'); + var $elem = $('').appendTo('#bodySystems'); $compile($elem)($scope); }) @@ -7304,12 +7304,12 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo return Math.round(iReturnValue / nExistingZoom); } - $scope.refreshTermListOnSystemSelection = function (event) { + $scope.refreshTermListOnSystemSelection = function (bodysystemId) { $('#termList').empty(); // $('#termList').innerHTML = ''; - if (event.currentTarget.id == 0) { + if (bodysystemId == 0) { $scope.loadListManger(); } else { @@ -7321,7 +7321,7 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo $rootScope.BodySystemData = result; var systemMatchedTermList = new jinqJs() .from($rootScope.BodySystemData.BodySystem.BodySystemTerm) - .where('_SystemNumber == ' + event.currentTarget.id) + .where('_SystemNumber == ' + bodysystemId) .select(); if (systemMatchedTermList != null || systemMatchedTermList != undefined) { @@ -7552,11 +7552,11 @@ function HighlightBodyOnListManager(event) { }); } -function refreshTermListOnSystem(event) { +function refreshTermListOnSystem(bodysystemId) { console.log('refreshTermListOnSystem is called outside '); var scope = angular.element(document.getElementById("daView")).scope(); scope.$apply(function () { - scope.refreshTermListOnSystemSelection(event); + scope.refreshTermListOnSystemSelection(bodysystemId); }); } diff --git a/400-SOURCECODE/AIAHTML5.Web/index.html b/400-SOURCECODE/AIAHTML5.Web/index.html index 073abac..4220edc 100644 --- a/400-SOURCECODE/AIAHTML5.Web/index.html +++ b/400-SOURCECODE/AIAHTML5.Web/index.html @@ -709,7 +709,7 @@
- +
-- libgit2 0.21.4