From 84355a422dc6dff7353f2c48a51119c044d08b0e Mon Sep 17 00:00:00 2001 From: Santhosh Thottingal Date: Wed, 5 Jun 2013 11:08:22 +0530 Subject: [PATCH] On show of language settings, update the panel Settings changed using other UIs will not be updated unless we refresh the settings panel. Bug: 49148 Change-Id: Ia7cd8c91e59360c80eb72fdf0a966bdb3ce52d27 --- resources/js/ext.uls.languagesettings.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/resources/js/ext.uls.languagesettings.js b/resources/js/ext.uls.languagesettings.js index f9349256..aef293d4 100644 --- a/resources/js/ext.uls.languagesettings.js +++ b/resources/js/ext.uls.languagesettings.js @@ -153,6 +153,9 @@ this.$window.i18n(); this.shown = true; this.$window.show(); + // Every time we show this window, make sure the current + // settings panels is upto date. So just click on active menu item. + this.$window.find( '.input-settings-block.active' ).click(); this.position(); this.visible(); },