1
0
mirror of synced 2024-11-25 22:36:03 +03:00
Commit Graph

1151 Commits

Author SHA1 Message Date
jdecuyper
84cf134a4e Add hideSelectionFromResult function 2014-01-19 21:12:39 -06:00
Kevin Brown
9eb12a8906 Merge pull request #1816 from funkjedi/accessibility
Accessibility updates based on jQuery UI Autocomplete
2014-01-19 18:40:50 -08:00
Tim Robertson
eaf09c7f76 Accessibility updates based on jQuery UI Autocomplete 2014-01-19 18:52:56 -05:00
Kevin Brown
d5cb4bfa1c Merge pull request #2044 from sieppl/master
singleSelect: setting nextSearchTerm in initSelection
2014-01-19 13:04:00 -08:00
Sebastian Kather
48d392635f singleSelect: setting nextSearchTerm in initSelection
For single select the nextSearchTerm callback is called when
initSelection returned data
2014-01-16 16:12:00 +01:00
Igor Vaynberg
7087c4bfbf Merge pull request #2037 from codemumbler/patch-1
Changed default text for min number of characters.
2014-01-13 08:33:15 -08:00
Steven Armstrong
829b8c7346 Changed default text for min number of characters.
Use to read:
Please enter 3 more characters.
Now reads:
Please enter 3 or more characters.
2014-01-13 10:01:30 -05:00
Kevin Brown
f0b25ef173 Update package.json on release 2014-01-12 11:17:47 -05:00
Kevin Brown
32a08eac5f Merge pull request #1943 from Jarreddebeer/patch-1
Create package.json
2014-01-12 08:16:43 -08:00
Kevin Brown
4f4d77d36e Fixed dpi warning [Fixes #1964] 2014-01-12 11:10:51 -05:00
Kevin Brown
79ee2084dc Gradients are all set now 2014-01-11 21:01:16 -05:00
Kevin Brown
e2cccc9988 Fixed reversed gradients, again
The gradients that were fixed in #2002 had the wrong target value.
Most of them were targetting the bottom, though not all of them,
and the code set them to target the top.
2014-01-11 18:48:53 -05:00
Kevin Brown
a97b908a2a Added version to composer.json
This fixes #1997 by adding the `version` key to the `composer.json`
file.  The version number will be updated with newer releases as
well.
2014-01-11 17:56:17 -05:00
Kevin Brown
4847be1ab7 Merge pull request #2027 from limonte/master
Added Serbian locale
2014-01-10 06:20:58 -08:00
Limon Saturized
76d21b03bb Added Serbian locale 2014-01-10 13:02:26 +01:00
Kevin Brown
aab3381494 Fixed reversed gradient 2014-01-09 14:58:33 -05:00
Kevin Brown
2158a836e6 Merge pull request #1920 from jpotterm/prevent-ie-body-clicks
Prevent IE from generating unwanted clicks on the body.
2014-01-09 11:43:21 -08:00
Jonathan Potter
4dce487ccb Prevent IE from generating unwanted clicks on the body. When mousedown fires on the selection element and then mouseup fires on the mask (because it is moved under the mouse during mousedown) then IE fires a click event on the body because it is the closest common ancestor. To prevent this, we detach and reatach the elements on mousedown which cancels the click event. 2014-01-09 11:30:48 -05:00
Igor Vaynberg
3e5ad1334e Merge pull request #2020 from merkuriy/master
L10n files improved
2014-01-08 15:05:23 -08:00
Kevin Brown
7132a9a398 Merge pull request #2023 from TheDistantSea/feature/remove-hardcoded-classnames
Remove hardcoded class names from $.fn.select2
2014-01-08 08:21:02 -08:00
pj
c22bdd41a0 Removed hardcoded class names from $.fn.select2. The code now uses the exports accessible through window.Select2 to instantiate widgets, allowing the environment to replace or extend those classes globally. 2014-01-08 18:09:14 +02:00
pj
41c3d4cfc4 Removed hardcoded class names from $.fn.select2. The code now uses the exports accessible through window.Select2 to instantiate widgets, allowing the environment to replace or extend those classes globally. 2014-01-08 17:56:23 +02:00
Uriy Efremochkin
fd97e585d7 L10n files and template l10n file were improved: Groups of three characters "." (dots) were replaced by a single character "…" (ellipsis). 2014-01-08 15:35:47 +06:00
Uriy Efremochkin
147540b3b8 Korean l10n improved 2014-01-08 15:19:13 +06:00
Uriy Efremochkin
0e93836bf3 Icelandic l10n improved 2014-01-08 15:05:47 +06:00
Uriy Efremochkin
c3cc5822f3 Persian l10n improved 2014-01-08 15:03:13 +06:00
Uriy Efremochkin
edc87b4e9d Greek l10n improved 2014-01-08 14:59:06 +06:00
Uriy Efremochkin
93262e16cd Bulgarian l10n improved 2014-01-08 14:53:28 +06:00
Uriy Efremochkin
d322d62396 Croatian l10n improved 2014-01-08 14:43:05 +06:00
Uriy Efremochkin
4e524f7308 Polish l10n improved 2014-01-08 14:41:47 +06:00
Uriy Efremochkin
bc1ba84152 Ukrainian l10n improved 2014-01-08 14:40:47 +06:00
Uriy Efremochkin
0c021ef90f Russian l10n improved 2014-01-08 14:40:46 +06:00
Uriy Efremochkin
3cb76d2f5a Ukrainian language code from l10n file name has been fixed:
"ua" — is country code for Ukraine.
"uk" — is code for Ukrainian language.
http://en.wikipedia.org/wiki/Ukrainian_language
http://en.wikipedia.org/wiki/Ukraine
2014-01-08 14:40:46 +06:00
Uriy Efremochkin
cc254ee219 Latvian l10n improved 2014-01-08 14:40:46 +06:00
Uriy Efremochkin
daea53193e Lithuanian l10n improved 2014-01-08 14:40:45 +06:00
Uriy Efremochkin
372ec8d29a Spanish l10n improved 2014-01-08 13:35:30 +06:00
Kevin Brown
4eb1370b9c Merge pull request #1981 from openwide-java/fix-1946-hard_coded_title
Fix #1946: remove an hard coded title attribute.
2014-01-06 18:01:47 -08:00
Kevin Brown
f83ca8ec2c Merge pull request #2000 from leods92/patch-1
Added padding to searching/no-results messages.
2014-01-06 17:56:18 -08:00
Igor Vaynberg
55aa184c31 Merge pull request #1987 from 76200/patch-1
Fixed plural suffix for Polish translation
2014-01-02 19:20:22 -08:00
Igor Vaynberg
92103a8b02 Merge pull request #2002 from justbeez/master
Fix CSS linear-gradient syntax (gradients broken in IE10)
2014-01-02 19:17:38 -08:00
Igor Vaynberg
a44cf9fef6 Merge pull request #2003 from jdecuyper/feature-next-search-term-multiple
Enable nextSearchTerm function for multiple select
2014-01-02 19:16:36 -08:00
Igor Vaynberg
29b88e34be Merge pull request #2006 from robertfausk/patch-1
Enhance Documentation: Add integration for symfony2
2014-01-02 19:14:46 -08:00
robertfausk
1218a35f73 Add integration for symfony2
added missing integration for symfony2
"* [Symfony2](https://github.com/avocode/FormExtensions)"
2014-01-02 17:52:26 +01:00
jdecuyper
c7dd8c5179 Enable nextSearchTerm function for multiple select 2013-12-31 12:01:48 -06:00
Justin Beasley
8a560453b1 Fix CSS linear-gradient syntax
the first argument to linear-gradient is required to either be an angle, or expressed as "to [side]". Omitting the "to" keyword causes gradients to not render in IE10.
2013-12-31 00:05:23 -08:00
Arend van Beelen
a6ec8fc4e1 Don't rely on :visible and :not(..., ...) selectors which only work with Sizzle. 2013-12-30 15:33:46 +01:00
Leonardo D. Schlossmacher
23b2574d4b Added padding to searching/no-results messages.
It feels just weird without paddings.
2013-12-28 11:55:29 -02:00
bartek
29d3d12f0e Fixed plural suffix for Polish translation
Now formatSelectionTooBig(3) returns "Możesz zaznaczyć najwyżej 3 element**y**" instead of "Możesz zaznaczyć najwyżej 3 element**i**"
2013-12-19 11:56:45 +01:00
Igor Vaynberg
b8fa72db32 Merge pull request #1984 from jibwa/master
Fix problem with positioning the dropdown when it is on RHS
2013-12-18 17:06:46 -08:00
jibwa
92357e61b8 Fix problem with positioning the dropdown when it is on the right hand side of view
In the stable version this line looks like:

dropLeft = offset.left + width - dropWidth;

In line (1193) the variable width is set to dropWidth which means we are always going to end up with 

dropLeft = offset.left + X - X
or
dropLeft = offset.left

Which means we are still aligned to the left of the button.

This current solution from @ef9f1dea is just aligning the select2-drop closer to the center which is not what it did before the dropdownAutoWidth.


The line I submitted worked perfect and my dropdown now aligns to the RHS of the button again as expected.
2013-12-18 16:28:40 -05:00