Commit 3c2a12a8542985a4dd2d7f2350c781dd3b716d30
Merge branch 'CbNewUpdate' into CADirectLink
Showing
1 changed file
with
13 additions
and
3 deletions
400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js
... | ... | @@ -6456,11 +6456,15 @@ function ($rootScope, $scope, Modules, $log, $location, $compile, $timeout, Data |
6456 | 6456 | $("#modelsettingsbackground").css("display", "none"); |
6457 | 6457 | } |
6458 | 6458 | $rootScope.CloseSetting = function () { |
6459 | - // $rootScope.errorMessage = LoginMessageConstants.INVALID_USER; | |
6459 | + if($rootScope.isApplyBtnClicked) | |
6460 | + { | |
6460 | 6461 | $("#saveSettingsMessageModal").modal('show'); |
6461 | 6462 | $("#saveSettingsMessageModal").css('zIndex', 80000000000); |
6462 | - //$('#modal-settings').css("display", "none"); | |
6463 | - //$("#modelsettingsbackground").css("display", "none"); | |
6463 | + } | |
6464 | + else | |
6465 | + { | |
6466 | + $rootScope.CancelSetting (); | |
6467 | + } | |
6464 | 6468 | } |
6465 | 6469 | |
6466 | 6470 | $rootScope.saveSettings = function () { |
... | ... | @@ -6592,6 +6596,12 @@ function ($rootScope, $scope, Modules, $log, $location, $compile, $timeout, Data |
6592 | 6596 | $('#primarylaxican').attr("name", $rootScope.primaryLangID); |
6593 | 6597 | } |
6594 | 6598 | } |
6599 | + | |
6600 | + $('#lexiconLangDropdown').html($('#lexiconLangDropdown').find('option').sort(function (x, y) { | |
6601 | + | |
6602 | + return $(x).text() > $(y).text() ? 1 : -1 | |
6603 | + | |
6604 | + })); | |
6595 | 6605 | } |
6596 | 6606 | |
6597 | 6607 | ... | ... |