Without this change, clicking the cog near the interlanguage
links can show Input settings first, and the design says that
Display settings must be shown first.
Change-Id: Ieb2dcd7efb5c1a5e1320a271ec7c7ae69d071bae
Fix bug: Link to revert to the earlier display language inside the tooltip cannot
be clicked. It was hiding on mouse over.
Bug: 49556
Change-Id: If536142fd61aa191601262dbfec6de960c167081
Not mapped to any language, but available by explicit
style definition. style="font-family:'UnifrakturMaguntia';"
Bug: 49499
Change-Id: I346f81ecc145b261f3bc8386c47cce779ac11e33
Renamed imeLanguage to UI language to make it correct.
And some logic corrections as per that change.
Bug: 49380
Change-Id: I1ed664623b23393e289bd817b88d7f326f6524be
Added input methods may increase the height of window.
Make sure the entire window is in view port.
Bug: 49427
Change-Id: I06194b7d51459a31247104b2113ef3212774f004
Issues fixed:
Incorrect position of ULS when accessed from more languages button
of input/display settings, when language settings opened from ime
menu.
Arrow(callout) appearing for ULS when opened from more languages
button of input/display settings, when language settings opened from ime
menu.
Used a class 'callout' to mark whether windows need callout arrow or not.
Bug: 49060
Change-Id: Ic4c0a1e386918494a0d006a02dd0cf93ef269163
Settings changed using other UIs will not be updated unless we refresh
the settings panel.
Bug: 49148
Change-Id: Ia7cd8c91e59360c80eb72fdf0a966bdb3ce52d27
It is possible that the count reach more than SUGGESTED_LANGUAGES_NUMBER
before it reach the
languagesForButtons.length === SUGGESTED_LANGUAGES_NUMBER
check. This will cause the loop to run for all languages.
Change-Id: Ie6190d1c80c2a7152af490db2bc115ecdfde4184
For position=sidebar, the dummy "in other languages" section is
visible in the same manner as it is to browsers without JavaScript.
Bug: 49028
Change-Id: I931a2e904b37c754f63bfe5feb2d98bfe6c2747b
Before this patch, this scenarios didn't yield the expected result:
1) Disable IME, click Apply 2) Enable IME, click Cancel
The expected result is that IME would be disabled, but it was enabled.
This patch re-stashes the preferences when they are saved, so
the last saved preferences are loaded when pressing Cancel.
Change-Id: Ic7abdab165e367d970e6568ba69b25bf7d4f675a
Reduce document.ready code by moving functions outside and grouping
tooltip related code to a function.
Also remove window and document from wrapper anon function since
browser: true is defined in .jshintrc
Bug: 48156
Change-Id: I7228285cdcb33b915e96e7e2c59e4dbc90f5fc96
Remove redundant calls to prepareInputmethods
and redundant button styling.
Rename firstLanguauge to the clearer currentLanguage.
Switch checking for imeLanguage and the prereferences language
to make sure that the last one is shown.
Done in pair programming with Santhosh.
Bug: 48163
Change-Id: Ie8441f29eb20caa05534c8589481a26cb415a27f