XYUU commented on a change in pull request #453: GUACAMOLE-903: Improved
Chinese internationalization support
URL: https://github.com/apache/guacamole-client/pull/453#discussion_r362736912
##########
File path:
guacamole/src/main/webapp/app/form/controllers/languageFieldController.js
##########
@@ -40,7 +40,7 @@ angular.module('form').controller('languageFieldController',
['$scope', '$inject
// Retrieve defined languages
languageService.getLanguages().then(function languagesRetrieved(languages)
{
- $scope.$apply(function updateLanguageOptions() {
+ $scope.$applyAsync(function updateLanguageOptions() {
Review comment:
okay!I'll do as you say. I will open another PR after this PR merge to
submit this bug fix.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services