1
0
mirror of synced 2024-11-22 13:06:08 +03:00
Commit Graph

1418 Commits

Author SHA1 Message Date
Kevin Brown
cfcd555471 Added initial contributing guidelines 2014-08-12 20:45:50 -04:00
Rhodri Pugh
d2c9b9aac3 only switch right to left drop when enough room available 2014-08-07 11:48:55 +01:00
Gökhan Sirin
487b329893 IE and compat mode :/
Fixed 2 minor typos which prevent select2 to work in IE compat mode.
2014-08-06 18:24:48 +02:00
Fabrice Daugan
9d19b7f701 Redirect the focus of original input to Select2
Redirect the focus of original input to the "focus" event of Select2.
this way, we get back the accessible label for feature of previous Select2 versions.
2014-08-04 22:50:22 +02:00
Kevin Brown
3c17d3b5bb Call out documentation a bit more explicitly
This should help fix the problem with users not being able to find
the branch when trying to update the documentation.
2014-08-01 10:36:09 -04:00
Phazeshift
39382fab08 Fixing 'Type mismatch' exception in destroy in IE11 2014-08-01 12:19:19 +01:00
Kevin Brown
a6c9b12b82 Merge pull request #2576 from rinogo/master
Basic CSS gradient fix for choices
2014-07-31 20:24:58 -04:00
Rich Christiansen
75e089f3a1 Basic CSS gradient fix for choices
The “top” on the other styles (-moz-linear-gradient,
-webkit-linear-gradient, etc) signifies “start at the top”.  The
equivalent basic “linear-gradient” style is “to bottom”, not “to top”.
2014-07-31 10:10:34 -06:00
Kevin Brown
7c1acdbe5e Merge pull request #2557 from davidwparker/patch-1
Update angular.js website
2014-07-23 12:04:25 -04:00
David Parker
a17becd38c Update angular.js website
Make sure it's http:// so it actually has the real URL.
2014-07-23 10:02:31 -06:00
Kevin Brown
c13b284c74 Change the release remote back to origin 2014-07-22 19:00:44 -04:00
Kevin Brown
362751acd4 modified version identifiers in descriptors for release 3.5.1 2014-07-22 18:58:58 -04:00
Kevin Brown
140efeb28c Merge pull request #2546 from marcovtwout/patch-1
Update select2_locale_nl.js
2014-07-19 20:59:52 -04:00
Kevin Brown
d939794b4c Merge pull request #2550 from pulzarraider/patch-1
Fixed slovak translation
2014-07-19 20:59:11 -04:00
Andrej Hudec
65164fbc90 Fixed slovak translation 2014-07-19 11:46:29 +02:00
marcovtwout
74226e9f47 Update select2_locale_nl.js
Improve translation.
2014-07-17 16:07:49 +02:00
Kevin Brown
f579cbb43c Merge pull request #2540 from futhr/patch-1
Fixes updated translation pattern.
2014-07-16 18:00:56 -04:00
Tobias Bohwalli
e7ad0b00cd Fixes updated translation pattern. 2014-07-16 23:58:13 +02:00
Kevin Brown
f99560508e Merge pull request #2529 from OtkurBiz/master
Added Uyghur translation
2014-07-15 17:45:51 -04:00
boyaq
f330cb2124 Changed Uyghur translation 2014-07-11 19:02:57 +08:00
boyaq
feedfe21de Merge remote-tracking branch 'upstream/master' 2014-07-11 19:01:16 +08:00
boyaq
d8a9f697fb added Uyghur translation 2014-07-11 18:54:33 +08:00
boyaq
6695f88b70 added Uyghur translation 2014-07-11 18:53:23 +08:00
Kevin Brown
c4cba75b5a Merge pull request #2507 from ivaynberg/i18n_backport
Bring locale improvments to 3.5.x
2014-07-03 09:58:23 -04:00
Jonas Pyfferoen
6de07310c8 Fix da language apply
Signed-off-by: Kevin Brown <kevin@kevinbrown.in>
2014-07-01 19:17:21 -04:00
Jonas Pyfferoen
8fc069df45 Added some missing ;
Signed-off-by: Kevin Brown <kevin@kevinbrown.in>
2014-07-01 19:17:21 -04:00
Jonas Pyfferoen
e2e476c196 Remaining syntax + indentation
Signed-off-by: Kevin Brown <kevin@kevinbrown.in>
2014-07-01 19:17:21 -04:00
Jonas Pyfferoen
8243f8191c Syntax fix
Signed-off-by: Kevin Brown <kevin@kevinbrown.in>
2014-07-01 19:17:21 -04:00
Jonas Pyfferoen
6b92b1c211 Immediately apply language when including
Signed-off-by: Kevin Brown <kevin@kevinbrown.in>
2014-07-01 19:17:21 -04:00
Jonas Pyfferoen
837715f939 Fixes #2278
Instead of instantly applying the translations, add them to an array.
That way users can include the language files that their site supports
and apply the required language using $.extend($.fn.select2.defaults,
$.fn.select2.locales["nl"]);

Signed-off-by: Kevin Brown <kevin@kevinbrown.in>
2014-07-01 19:17:20 -04:00
Kevin Brown
79b5bf6db9 Merge pull request #2483 from hitosu/master
filter 229 keyCodes (input method editor is processing key input)
2014-06-26 20:18:09 -04:00
Igor Vaynberg
724d2f700f Merge pull request #2491 from Ermish/master
Added Ajax Error Handling
2014-06-26 08:15:05 -07:00
Ermish
36db1f1966 Revert "gitignore"
This reverts commit d19bb1c32c.
2014-06-25 20:19:21 -04:00
Ermish
d19bb1c32c gitignore 2014-06-25 19:44:49 -04:00
Ermish
b505601629 Added Ajax Error Handling
Added an error message when an ajax error occurs. This can be
overridden through the select2 option “formatAjaxError”.
2014-06-25 19:40:08 -04:00
Vasily Kazantsev
7c1ceb8fd9 filter 229 keyCodes (input method editor is processing key input) 2014-06-22 19:07:36 +03:00
Kevin Brown
fdad112682 Merge pull request #2481 from sbilstein/master
Fixes #2434 Prevents whitespace only tags from being created
2014-06-22 11:00:37 -04:00
Siegfried Bilstein
2690053010 Fixes #2434 Tagging support allows creation of tags that are only whitespace 2014-06-21 11:37:53 -07:00
Kevin Brown
a73d1b2b52 Merge pull request #2465 from rvitaliy/patch-1
fixed destroy
2014-06-17 21:00:51 -04:00
Kevin Brown
5daca7424e Merge pull request #2466 from tjperovich/patch-1
Fix there/their typo
2014-06-17 21:00:23 -04:00
tjperovich
c0cc6c9f94 Fix there/their typo 2014-06-17 10:11:09 -04:00
Vitaliy Ryaboy
78526a3860 Update select2.js
fixed destroy
2014-06-17 13:47:31 +02:00
Kevin Brown
0d9893936c modified version identifiers in descriptors for release 3.5.0 2014-06-16 19:29:46 -04:00
Kevin Brown
5a7d250071 Merge pull request #2444 from surgeforward/undefined-top
Fix error: Cannot read property 'top' of undefined
2014-06-15 16:22:04 -04:00
Kevin Brown
3fee8fc7e6 Detect classes separated by multiple spaces
This detects classes separated by multiple spaces and will trim
extra spaces surrounding the class attribute.

This closes the following issue: https://github.com/ivaynberg/select2/issues/2358
2014-06-11 20:08:57 -04:00
Kevin Brown
9e17f63013 Normalized select2-selecting event
This normalizes the `select2-selecting` event so the object is
returned as `choice` in the event data.  While the documentation
points to the name being `object`, all other events return the
affected data object as `choice`.

This closes the following issue: https://github.com/ivaynberg/select2/issues/2340
2014-06-11 20:02:23 -04:00
Kevin Brown
b13c9b474d Small formatMatches change for single results
This changes `formatMatches` to notify the user that they can
select the single result.  This is a more clear result compared to
the previous one.

This closes the following issue: https://github.com/ivaynberg/select2/issues/2329
2014-06-11 19:52:08 -04:00
Cameron Spear
0675805621 Fix error: Cannot read property 'top' of undefined
Lines [1499](d487fc58a8/select2.js (L1499)) and [1509](d487fc58a8/select2.js (L1509)) make a call to `child.offset().top`. I don't know what's causing `child.offset()` to return undefined, but it is and it's breaking Select2 so that I can't select the last item in the list (this error occurs when I try hovering over or clicking on the last item in a list).

I can try and create a reduced case, but this fix is 100% backward compatibe, passes all the tests you have for the project and has a 0% chance of breaking anyone's working code. With this patch, my dropdown works just fine. At worst, this does *nothing* for people, at best, it fixes a rare edge case. Like my edge case. And I'm a pretty important person to me.
2014-06-06 19:04:14 -07:00
Kevin Brown
172f973d7b Merge pull request #2436 from asapach/patch-2
updated russian translation to match template
2014-06-05 12:00:03 -04:00
Kevin Brown
108849038a Merge pull request #2435 from asapach/patch-1
updated translation template to match master
2014-06-05 11:27:01 -04:00