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 avoids mandate of having 'cancel' method defined in settings module.
Also avoids looping of all modules while cancel is happening.
Change-Id: I87d0975f2ef1bdee61f71d66eabe3040b81876b8
* Refactored the Cancel button handler code to cancel method in
display settings and input settings.
* When the user makes changes in multiple modules and clicks the Cancel
button or closes the language settings after that, cancel the changes in
all the modules. See bug 50564.
* The Apply button was always active in input methods module. Fixed the
logic for that.
* Renamed the enableApplyButton method to markDirty in both modules.
* Introduced isDirty attribute to the modules for optimizing the Cancel
method to avoid unnecessary restore actions.
* More minor cleanup and documentation.
Bug: 50564
Change-Id: I71f527bfb7dd7f6724e4365371ac3e4fc0723ed6
https://gerrit.wikimedia.org/r/#/c/75076/ had multiple issues:
1. Selecting of input methods stopped working
2. With 'personal' position, ULS windows comes on every page click
Bug: 50559
Change-Id: I0cf815228760d27bca07acd58631713988659831
To make the behavior consistent with ULS langauge selection window.
This also avoid multiple language settings screen appearing in rare
case of using two entry points to access language settings one after
another.
Bug: 50559
Change-Id: I990eb6402085290df314db0a75235e0ad7b2fd55
Settings changed using other UIs will not be updated unless we refresh
the settings panel.
Bug: 49148
Change-Id: Ia7cd8c91e59360c80eb72fdf0a966bdb3ce52d27
Directly show language settings instead of showing ULS language selector
and then simulating click on language settings
Change-Id: Iafb15ac9a7140fcce9e71ed933be6c55be81dc7e
This reverts commit 3b2e39d822.
Because of that commit input settings cannot be opened from
the IME menu and from the buttons at the bottom of ULS.
Change-Id: I9aee4f40d39392df0cdc5aba8b481b71838dc41a
* Add a caret for the ULS in the sidebar.
* Adjust the panel's position.
* Immediately show the Display settings instead of the language list.
Also added documentation.
Change-Id: I6635092e9e020cb1f5b51f437abde4e81c31ae48
CSS adjustments to visually distinguish settings sections from the
settings panel. Sections in the left use a light gray background to
provide contrast with the specific settings of each category.
Change-Id: Ie56020d6b8886cb9296f9ac9defe6ad81a6cc184
The style rearrangements of jquery.uls (to avoid CSSLint warnings)
requires some fixes on the extension.
Also update the changes from jquery.uls
Change-Id: I607f7778e620a398ce8648c21c594a3505ec0816
* Add an onClose option for language settings
* Add a close method to language settings and display settings
* some documentation and cleanup
Change-Id: I3040e0740bd8a9f9f7d3ad508a3003415a24e7a9
* add a parameter acitve to renderModule so that it is highlighted
and active
* move the default module render call to renderModule method
Change-Id: I5dca8586dddf1065b4e85642a40c3558f0b6586b
* Fixed many white space issues- mainly whitespace missing before
function start paranthesis eg: function()
* Removed the deprecated live methods and replaced with on
* Added file documentation for ext.uls.geoclient
Change-Id: Ib2c8cfed1a6ff3859495e707680d5c19882a33e8
* Expose two options: left and top
* Make the init script pass that.
* Introduce position method in jquery.uls
Change-Id: I21f4d956f1ed2c56528731ab09ecc6a89834f796
This does not add much functionality. That will come in
future commits.
This commit has many cleanup, refactoring on the display settings,
language settings code.
Change-Id: I7fbc3ebb9b67c1afd80f159c2d82cd2a1c6bea74