Commit 990f65014307e9400b156ae3b6a838b99de381bd
Merge branch 'Bug#22538' into AIA_Develop
Showing
1 changed file
with
5 additions
and
0 deletions
400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js
... | ... | @@ -1468,9 +1468,14 @@ function ($rootScope, $scope, Modules, $log, $location, $compile, $timeout, Data |
1468 | 1468 | $(result.root.uc.al.lx).each(function (key, value) { |
1469 | 1469 | |
1470 | 1470 | $('#lexiconLangDropdown').append('<option val="' + this._id + '">' + this._tl + '</option>'); |
1471 | + | |
1471 | 1472 | |
1472 | 1473 | }); |
1474 | + $('#lexiconLangDropdown').html($('#lexiconLangDropdown').find('option').sort(function (x, y) { | |
1475 | + | |
1476 | + return $(x).text() > $(y).text() ? 1 : -1 | |
1473 | 1477 | |
1478 | + })); | |
1474 | 1479 | } |
1475 | 1480 | |
1476 | 1481 | }); | ... | ... |