ferman-guzel commented on code in PR #1135:
URL: https://github.com/apache/guacamole-client/pull/1135#discussion_r2602481951


##########
guacamole/src/main/frontend/src/app/settings/services/preferenceService.js:
##########
@@ -200,7 +217,11 @@ angular.module('settings').provider('preferenceService', 
['$injector',
          * Persists the current values of all preferences, if possible.
          */
         service.save = function save() {
-            localStorageService.setItem(GUAC_PREFERENCES_STORAGE_KEY, 
service.preferences);
+                // Save other preferences into localStorage
+                var prefsClone = angular.copy(service.preferences);
+                delete prefsClone.inputMethod;
+
+                localStorageService.setItem(GUAC_PREFERENCES_STORAGE_KEY, 
prefsClone);

Review Comment:
   Applied the suggested change



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to