Commit Graph

67 Commits

Author SHA1 Message Date
Amir E. Aharoni
64cc7969a7 Use the supplied position values instead of hardcoded 2013-04-26 16:11:12 +03:00
Amir E. Aharoni
6309d1889b Comments format 2013-04-25 14:48:37 +03:00
Amir E. Aharoni
a568b3244e Rename the hook to "visible" and add documentation 2013-04-25 13:29:25 +03:00
Amir E. Aharoni
b28bed9bb5 Add an afterShowing hook
A hook that can optionally run after the ULS menu is shown.
There are things that cannot be done in ready(), because
the style may not have been initialized yet.
2013-04-23 22:43:14 +03:00
Amir E. Aharoni
62cab27eb2 Leave only one var statement per scope 2013-04-22 14:40:12 +03:00
Santhosh Thottingal
0340e609a0 Expose compact mode as an option
* some minor space cleanup
* Also close the ULS window when clicked outside

Change-Id: I06b465926196f79e47990e80e3b23f5a16474ba3
2013-03-15 14:57:19 +05:30
Siebrand Mazeland
66d84936f9 Merge pull request #74 from amire80/coding_conventions
Coding conventions, cleanup
2013-02-07 21:01:24 -08:00
Pau Giner
7e800eb836 Settings at the bottom of the ULS
Moves the settings block at the bottom of the ULS dialog in order
to distinguish more clearly the selection and configuration regions.
2013-02-06 10:35:48 +01:00
Amir E. Aharoni
e40ca2e885 Whitespace, JSHint, removed unused function 2013-01-13 23:32:40 +02:00
Santhosh Thottingal
0e61876af5 Merge branch 'extra_languages' of git://github.com/amire80/jquery.uls into amire80-extra_languages
Conflicts:
	src/jquery.uls.data.js
	src/jquery.uls.data.utils.js

Change-Id: I9c321891707b0d68328f4e4c8be1bd451794072d
2013-01-07 15:45:48 +05:30
Amir E. Aharoni
d4ef33d4f8 Merge pull request #58 from amire80/whitespace
Whitespace
2013-01-02 23:09:40 -08:00
Amir E. Aharoni
49436026d8 Whitespace 2013-01-02 18:48:02 +02:00
Amir E. Aharoni
829c827483 Adding a special region
This is supposed to allow adding special languages.

This region's section is hidden by default and can be enabled by
passing different options to the lcd object.
2013-01-02 12:58:29 +02:00
Amir E. Aharoni
e78a2507d7 Whitespace 2012-12-30 20:34:32 +02:00
Siebrand Mazeland
d2d287fbc4 Update docs 2012-12-27 21:58:54 +01:00
Santhosh Thottingal
b34cbbe9d2 Limit the grid to 'grid' class
Change-Id: I60dd826ddee0861c05bc6b0cadc8bdc1eb3a6488
2012-11-28 14:59:56 +05:30
Santhosh Thottingal
d0ef38c1e2 Donot close when clicked outside
Change-Id: Ib94423e8c26f69cdba460e21e9bcaee1a436e187
2012-11-21 17:33:16 +05:30
Santhosh Thottingal
b3a3f48c3b On show hide any other ULS menus visible 2012-11-21 17:09:12 +05:30
Amir E. Aharoni
025e452560 Remove superfluous element names where ID is specified 2012-11-19 18:56:35 +02:00
pginer
27039e1141 Fixes CSSLint issues for jquery.uls.css
CSS adjustments and JS modifications (adding classes to HTML elemnts)
to solve issues reported by CSS Lint when validating jquery.uls.css
2012-11-19 17:26:34 +01:00
Amir E. Aharoni
c9a072934c Make clicking the trigger show and hide the ULS
Bugzilla:
https://bugzilla.wikimedia.org/show_bug.cgi?id=41768
2012-11-16 19:17:54 +02:00
Amir E. Aharoni
f80683b1d8 Make clicking outside the ULS close the ULS
Reported in Bugzilla:
https://bugzilla.wikimedia.org/show_bug.cgi?id=41768
2012-11-16 18:52:30 +02:00
Amir E. Aharoni
ba6a1e5eec Spelling of event name 2012-11-16 14:09:45 +02:00
Amir E. Aharoni
15d98ee586 Whitespace 2012-11-16 14:08:03 +02:00
Amir E. Aharoni
05e4de4020 Renamed 'that' to 'uls' 2012-11-16 14:00:25 +02:00
Amir E. Aharoni
da2244279e Whitespace and quotes 2012-11-16 13:52:32 +02:00
Santhosh Thottingal
8c3b61b1a1 Fix issue #32 - Clicking a region on map sets focus in search bar; onscreen keyboard covers list
Change-Id: I15703614b5fdb2201f7dcbfd47a5095e033032f3
2012-11-13 14:22:10 +05:30
Santhosh Thottingal
cff31e7abb Fix issue #31 - Add onCancel callback
Change-Id: I207b60846a899912dcc5f79f92e9b1ad75e525a3
2012-11-10 17:52:44 +05:30
Santhosh Thottingal
642dd3c8cc Remove deprecated $.browser
Fixes issue #33

Change-Id: Idda5d77293baedf8d93b70a146a545ff6986aaa5
2012-11-10 17:09:57 +05:30
Santhosh Thottingal
0be1e38d14 Fix issue #24 - Search results replaced with full list when scrolling
Change-Id: Iba3a798c9b4980943aded1ed145081fecc0367e3
2012-11-08 15:43:36 +05:30
Santhosh Thottingal
06384a02e4 Remove unused variable
Change-Id: I41154e6c79b215945ccefe729d2a50b38d67f5c2
2012-11-08 15:04:06 +05:30
Brion Vibber
5ec59b9874 typo fix in comment 2012-11-06 18:02:29 +05:30
Santhosh Thottingal
642668d0ae Introduce lazyload option with default value true.
This can be set false when language list is very small.

Change-Id: I024f01a2a62f0d0def553e2d6f7a3fdcce1a7968
2012-10-26 10:53:13 +05:30
Santhosh Thottingal
27b8babfa9 Use lazy loading of regions only where language list is big 2012-10-26 10:29:21 +05:30
Santhosh Thottingal
983cd129cf Do not fail when jquery.i18n is not present
Change-Id: Ieed87c23cac842e8d9f6de54b1d2d4af9586ce4f
2012-10-15 19:09:39 +05:30
Santhosh Thottingal
04c5cc1e23 Merge branch 'master' of github.com:wikimedia/jquery.uls
Conflicts:
	examples/index-i18n.html
2012-10-09 19:44:01 +05:30
Santhosh Thottingal
76094b8e03 i18n the placeholder text in language selector and correct the onready
callback
2012-10-09 19:41:32 +05:30
Amir E. Aharoni
d74d9b003b .autonyms -> .getAutonyms 2012-10-08 08:13:34 +02:00
Amir E. Aharoni
972247b895 Remove unecessary whitespace 2012-10-07 17:17:36 +02:00
Santhosh Thottingal
2bdc515930 Correct the jquery object for i18n
Change-Id: Ic6fc68f27f9944d869206076951e3b7cdaac6f07
2012-09-22 10:05:01 -07:00
Santhosh Thottingal
0781f022dd Internationalize ULS
* internationalize ULS when jquery.i18n is present. Otherwise use the
fallback English interface
* Example with and without i18n
* Message files for few languages
2012-09-21 22:24:06 -07:00
Santhosh Thottingal
0747e74365 User region names instead of region codes
* Till i18n is in place, use a workaround to show region names in
  English

Change-Id: I6e14ab67600ad32263f04eb0aa6b931177425e5a
2012-09-09 07:50:16 +00:00
Santhosh Thottingal
f3967d9b11 Fix Bug 39096 - Narayam compatibility with ULS
* Correct the event propagation
* Narayam blue background prevents the autocomplete visible. Overriding
 background color with transparent, but that does not look good. May be we
should consider this while designing jquery.ime

Change-Id: If8ea8c1f074cc20b743805953a3bd68da62cb55b
2012-09-07 11:06:30 +05:30
Santhosh Thottingal
c83baac893 Fix Bug 39930 - Common languages not always shown in the Worldwide region
Change-Id: I764af7ad88cf79e9e07b96f899f352ad3082df45
2012-09-06 14:15:05 +05:30
Santhosh Thottingal
badd5c95ac Fix the broken region links in 'noresults' screen.
It was commented out in some previous commits.
Also correct the region code of America from NA to AM

Change-Id: I6cec2560393134de1190291e1f49bc0ac4280af0
2012-09-05 18:15:45 +05:30
Santhosh Thottingal
298c91a68f Misc jshint fixes
* Move the invocation into the parens that contain the function.
* unescaped regex
* Do not wrap function literals in parens unless they are to be
  immediately invoked.

Change-Id: Ib3360f88fb7674af0e857d8a84a91fdac1fd8487
2012-09-04 16:02:28 +05:30
Siebrand
6df99929ba Merge "Fix Bug 39926 - Australia region inconsistent visibility" 2012-09-03 16:39:54 +00:00
Santhosh Thottingal
f837ed904a Fix Bug 39922 - The "No results found" view lacks suggested languages
noresultsview is part of uls.lcd now, moved the html template too.

Change-Id: I9aee0ab1b62e61c3ec0e2c89f7d07b7a4432ef33
2012-09-03 19:31:41 +05:30
Santhosh Thottingal
085f9f9e87 Fix Bug 39926 - Australia region inconsistent visibility
Removed AU region, using PA instead.

Change-Id: I088baf7de6d0c0d52a0cf42a159b6d3339793dcc
2012-09-03 18:44:25 +05:30
Niklas Laxström
4eb214b66f Initial version of geolocation support
Change-Id: Ia1a18ac336131520bbc67f52194f4aa9c547ea67
2012-08-30 15:36:51 +03:00