From bc816ee34ae822223e8e87c3b4a9dbd03571dfc6 Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 15 Mar 2017 16:09:56 +0530 Subject: [PATCH] Commit Changes --- 400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js | 12 ++++++------ 400-SOURCECODE/AIAHTML5.Web/app/views/da/da-view.html | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js index c5b09ec..970917d 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js @@ -7639,7 +7639,7 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo } } - $rootScope.IsSearchInputClicked = true; + $rootScope.isSearchInputClicked = true; $scope.ShowSearch = function () { console.log('ShowSearch is called'); //this check is for log only because we are writing length so need to check if its not null or undefined @@ -7659,8 +7659,8 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo } } - if ($rootScope.IsSearchInputClicked == true) { - $rootScope.IsSearchInputClicked = false; + if ($rootScope.isSearchInputClicked == true) { + $rootScope.isSearchInputClicked = false; $rootScope.searchListArray = []; $("#backdrop > #searchListDiv > #termlistfilter > li").each(function (key, value) { $rootScope.searchListArray.push({ "name": $(this).find("a").html(), "id": $(this).find("a").attr("id") }); @@ -8408,7 +8408,7 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo $("#btnNormalMode").removeClass("btn-primary"); } - $('#TypedTermName').val($scope.searchFilter); + $('#typedTermName').val($scope.searchFilter); } else { @@ -8433,7 +8433,7 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo for (var i = 0; i <= $rootScope.searchListArray.length - 1; i++) { - var searchFieldVal = $("#TypedTermName").val(); + var searchFieldVal = $("#typedTermName").val(); if (searchFieldVal.length > 0) { var isValueMatchedWithTerm = true; for (var j = 0; j <= searchFieldVal.length - 1; j++) { @@ -8453,7 +8453,7 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo var termListFilterHtml = ''; termListFilterHtml += '