Simplify the cancel logic for input and display settings

Restore the language(ui, content), font values, input method values.

Rest of the UI resetting will be done by redrawing the settings
area whenever the language settings is accessed again.

Change-Id: Ia1488d1501f9c9f61726cea3637624f22a7ba135
This commit is contained in:
Santhosh Thottingal
2013-08-26 16:48:06 +05:30
committed by Amire80
parent 0d9bbd8113
commit a5d79594a3
3 changed files with 11 additions and 48 deletions

View File

@@ -173,7 +173,7 @@
// 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.$window.find( '.settings-menu-items > .active' ).click();
this.position();
this.visible();
},