1
0
mirror of synced 2024-11-30 16:46:03 +03:00
Commit Graph

1686 Commits

Author SHA1 Message Date
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
Guillaume Smet
3d2b91bd7a Fix #1946: remove an hard coded title.
The original title is copied if defined and it's sufficient for accessibility purpose.
We shouldn't force the title attribute, it's especially annoying if people are using
tooltip implementation based on the title attribute such as Bootstrap tooltip.
2013-12-17 17:03:10 +01:00
Igor Vaynberg
5981dcdfcc Merge pull request #1971 from wyuenho/fix_select2_locale_ar_syntax_error
Fix syntax error in Arabic locale file
2013-12-12 08:01:47 -08:00
Jimmy Yuen Ho Wong
62b689d28e Fix syntax error 2013-12-12 18:30:44 +08:00
Igor Vaynberg
39ad3b21e6 Merge pull request #1962 from wyuenho/component
Add component.json
2013-12-11 08:13:44 -08:00
Jimmy Yuen Ho Wong
cdef7d9ed6 Update version for component.json too 2013-12-08 03:28:31 +08:00
Igor Vaynberg
883c750e79 Merge pull request #1963 from wyuenho/fix_select2_locale_ka_syntax_error
Fix georgian locale syntax error
2013-12-07 11:20:59 -08:00
Jimmy Yuen Ho Wong
0505a65fdc Fix georgian locale syntax error 2013-12-07 20:05:42 +08:00
Jimmy Yuen Ho Wong
903aff11ce Add component.json 2013-12-07 20:04:35 +08:00
Igor Vaynberg
c186dc826e better handling for ipads. fixes #1949 2013-12-03 10:21:17 -08:00
Lito
abe7777b0a Fixed string used as regular expression for ID attribute.
Signed-off-by: Igor Vaynberg <igor.vaynberg@gmail.com>
2013-12-03 08:32:27 -08:00
Jarreddebeer
89dfa888c9 Correcting git repository url 2013-12-01 16:41:15 +02:00
Igor Vaynberg
fc5ac5b137 Merge pull request #1728 from corinnaerin/master
Compatibility with jQuery 1.9 +
2013-11-29 22:49:06 -08:00
Igor Vaynberg
0a4668bb43 Merge pull request #1423 from adelynx/master
Select2 Arabic Translate.
2013-11-29 22:44:34 -08:00
Igor Vaynberg
f8dda91171 Merge pull request #1014 from sjschukin/patch-1
.select2("data", null) causes an error
2013-11-29 22:40:52 -08:00
Igor Vaynberg
aa0fb730aa Merge pull request #1938 from datapad/data-result-direct-children
Only pick up direct children when retrieving data in 'multiple' mode
2013-11-29 22:24:32 -08:00