Merged countries sort
This commit is contained in:
parent
f6ef43d3b0
commit
a257ded3cc
@ -2519,10 +2519,11 @@ angular.module('myApp.controllers', ['myApp.i18n'])
|
||||
}
|
||||
}
|
||||
}
|
||||
$scope.countries.sort(function(a, b) {
|
||||
return a.name.localeCompare(b.name);
|
||||
});
|
||||
|
||||
if (String.prototype.localeCompare) {
|
||||
$scope.countries.sort(function(a, b) {
|
||||
return a.name.localeCompare(b.name);
|
||||
});
|
||||
}
|
||||
});
|
||||
})
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user