Commit bc816ee34ae822223e8e87c3b4a9dbd03571dfc6

Authored by unknown
1 parent d552090b

Commit Changes

400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
@@ -7639,7 +7639,7 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo @@ -7639,7 +7639,7 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo
7639 } 7639 }
7640 7640
7641 } 7641 }
7642 - $rootScope.IsSearchInputClicked = true; 7642 + $rootScope.isSearchInputClicked = true;
7643 $scope.ShowSearch = function () { 7643 $scope.ShowSearch = function () {
7644 console.log('ShowSearch is called'); 7644 console.log('ShowSearch is called');
7645 //this check is for log only because we are writing length so need to check if its not null or undefined 7645 //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 @@ -7659,8 +7659,8 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo
7659 } 7659 }
7660 } 7660 }
7661 7661
7662 - if ($rootScope.IsSearchInputClicked == true) {  
7663 - $rootScope.IsSearchInputClicked = false; 7662 + if ($rootScope.isSearchInputClicked == true) {
  7663 + $rootScope.isSearchInputClicked = false;
7664 $rootScope.searchListArray = []; 7664 $rootScope.searchListArray = [];
7665 $("#backdrop > #searchListDiv > #termlistfilter > li").each(function (key, value) { 7665 $("#backdrop > #searchListDiv > #termlistfilter > li").each(function (key, value) {
7666 $rootScope.searchListArray.push({ "name": $(this).find("a").html(), "id": $(this).find("a").attr("id") }); 7666 $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 @@ -8408,7 +8408,7 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo
8408 $("#btnNormalMode").removeClass("btn-primary"); 8408 $("#btnNormalMode").removeClass("btn-primary");
8409 } 8409 }
8410 8410
8411 - $('#TypedTermName').val($scope.searchFilter); 8411 + $('#typedTermName').val($scope.searchFilter);
8412 8412
8413 } 8413 }
8414 else { 8414 else {
@@ -8433,7 +8433,7 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo @@ -8433,7 +8433,7 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo
8433 8433
8434 for (var i = 0; i <= $rootScope.searchListArray.length - 1; i++) 8434 for (var i = 0; i <= $rootScope.searchListArray.length - 1; i++)
8435 { 8435 {
8436 - var searchFieldVal = $("#TypedTermName").val(); 8436 + var searchFieldVal = $("#typedTermName").val();
8437 if (searchFieldVal.length > 0) { 8437 if (searchFieldVal.length > 0) {
8438 var isValueMatchedWithTerm = true; 8438 var isValueMatchedWithTerm = true;
8439 for (var j = 0; j <= searchFieldVal.length - 1; j++) { 8439 for (var j = 0; j <= searchFieldVal.length - 1; j++) {
@@ -8453,7 +8453,7 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo @@ -8453,7 +8453,7 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo
8453 8453
8454 var termListFilterHtml = ''; 8454 var termListFilterHtml = '';
8455 termListFilterHtml += '<ul id="termlistfilter" class="form-control dropdown-menu" style="height:90px;width:100%;overflow-y:scroll;position:absolute;z-index:60001;">'; 8455 termListFilterHtml += '<ul id="termlistfilter" class="form-control dropdown-menu" style="height:90px;width:100%;overflow-y:scroll;position:absolute;z-index:60001;">';
8456 - if ($("#TypedTermName").val().length > 0) { 8456 + if ($("#typedTermName").val().length > 0) {
8457 8457
8458 for (var i = 0; i <= $rootScope.ModifiedsearchListArray.length - 1; i++) { 8458 for (var i = 0; i <= $rootScope.ModifiedsearchListArray.length - 1; i++) {
8459 8459
400-SOURCECODE/AIAHTML5.Web/app/views/da/da-view.html
@@ -269,7 +269,7 @@ @@ -269,7 +269,7 @@
269 <div class=""> 269 <div class="">
270 <div class="input-group col-sm-8 col-xs-7 col-md-10 pull-left"> 270 <div class="input-group col-sm-8 col-xs-7 col-md-10 pull-left">
271 271
272 - <input type="text" class="form-control input-sm pull-left" id="TypedTermName" onclick="OnSearch()" ondblclick="OnSearch()" ng-model="searchFilter" ng-change="resetSearchListView()" ng-blur="HideSearch()" placeholder=" search..."> 272 + <input type="text" class="form-control input-sm pull-left" id="typedTermName" onclick="OnSearch()" ondblclick="OnSearch()" ng-model="searchFilter" ng-change="resetSearchListView()" ng-blur="HideSearch()" placeholder=" search...">
273 273
274 <div id="backdrop" ng-show="IsSearchVisible"> 274 <div id="backdrop" ng-show="IsSearchVisible">
275 <div id="searchListDiv" class="col-sm-12 col-xs-12 col-md-12 col-lg-12 pull-left"> 275 <div id="searchListDiv" class="col-sm-12 col-xs-12 col-md-12 col-lg-12 pull-left">