Boro Sitnikovski
8644ccb68b
Items with spaces can be added infinite times on multiselects
...
Add optional parameter transformVal that allows the user to define transformation for splitVal
Example demos:
(Infinite spaces, default transformVal):
http://jsfiddle.net/DV23t/9/
(No infinite spaces, transformVal = function (x) { return x; }):
http://jsfiddle.net/DV23t/12/
2014-10-08 23:28:41 +02:00
Kevin Brown
08ee57a03c
Merge pull request #2720 from josmardias/fix-ie8-ie9
...
Fixing IE8 and IE9 issues on select2#3.5.1
2014-10-07 12:25:56 -04:00
Vitor Oliveira
4955be239d
Testing if the object exists before use it
...
It's necessary to make the code compatible with IE8 and IE9.
2014-10-07 13:07:58 -03:00
Dylan Roux
d385dc512e
allow formatSelection to return a jQuery object
2014-09-26 15:14:19 +02:00
Kevin Brown
c5c42eaf72
Merge pull request #2695 from junhanamaki/master
...
allow markups of subsequent formatLoadMore message
2014-09-25 16:45:59 -04:00
Kevin Brown
2b90de5012
Merge pull request #2679 from r0mille/master
...
fixes cutoff for bottom option when selecting with keyboard
2014-09-25 16:42:23 -04:00
junhanamaki
68070d0cac
allow markups of subsequent formatLoadMore message
...
- setting message with html instead of text
- invoking escapeMarkup method before setting message
2014-09-23 20:48:18 +01:00
Marcelo Diniz
759b01926b
Update Brazilian Portuguese translation
...
Add row `formatAjaxError` and update when `formatInputTooShort` value equal to 1
2014-09-18 13:27:53 -03:00
Kevin Brown
bfaaf8e6e5
Merge pull request #2674 from LuisGP/patch-2
...
Update select2_locale_es.js
2014-09-11 19:15:26 -04:00
romille
633d4e6b4b
fixes cutoff for bottom option when selecting with keyboard
2014-09-11 17:45:59 -04:00
Kevin Brown
dc6b987def
Merge pull request #2673 from LuisGP/patch-1
...
Update select2_locale_es.js
2014-09-11 07:50:00 -04:00
LuisGP
ef284de8b3
Update select2_locale_es.js
...
Added formatAjaxError string
2014-09-11 13:10:17 +02:00
LuisGP
438be4f537
Update select2_locale_es.js
2014-09-11 13:03:19 +02:00
Kevin Brown
d0d4bfb289
Merge pull request #2655 from DamianZ/master
...
bug fixes in languages
2014-09-08 15:14:12 -04:00
Damian Zajkowski
21628abb1a
[fix] uproszczenie i poprawienie logiki dodawania suffiksów liczby mnogiej
...
Signed-off-by:Damian Zajkowski <damian.zajkowski@rst.com.pl>
2014-09-02 12:07:48 +02:00
Damian Zajkowski
bbb3722a9b
[fix] secure fix, to prevent access to undefined array index
...
Signed-off-by:Damian Zajkowski <damian.zajkowski@rst.com.pl>
2014-09-02 11:12:31 +02:00
Damian Zajkowski
c2bd82f189
[fix] change undefined variable to the correct one
...
Signed-off-by:Damian Zajkowski <damian.zajkowski@rst.com.pl>
2014-09-02 10:52:42 +02:00
Kevin Brown
15133f6642
Merge pull request #2650 from mlocati/remove-utf8-bom
...
Remove UTF-8 BOM
2014-08-29 10:44:50 -04:00
Michele Locati
9f6f6059c7
Remove UTF-8 BOM
...
select2_locale_ar.js (and only it) contains the UTF-8 BOM: let's remove it.
2014-08-29 11:28:27 +02:00
Kevin Brown
8460e83df0
Merge pull request #2642 from b4oshany/master
...
Fixed JS breakage due to undefined variable, viewPortLeft.
2014-08-27 15:26:39 -04:00
Oshane Bailey
9207f23073
Fixed JS breakage due to undefined variable, viewPortLeft.
2014-08-26 22:24:33 -05:00
Kevin Brown
2a9db24c58
Add cdnjs to the README
...
This closes #2638 .
2014-08-26 08:47:54 -04:00
Kevin Brown
93157214ad
Merge pull request #2415 from santialbo/text-function
...
Add text function for formatResult and formatSelection
2014-08-22 18:37:07 -04:00
Kevin Brown
7505bb6d60
Merge pull request #2595 from scotam/drop-left-check
...
Adds check for enough room before switching right to left drop
2014-08-22 18:23:18 -04:00
Kevin Brown
4c59e16a27
Merge pull request #2591 from gsirin/patch-1
...
IE and compat mode :/
2014-08-21 19:12:57 -04:00
Kevin Brown
2e5538318e
Merge pull request #2610 from torke1/patch-1
...
Prevent multiple select2-hidden-accessible span's
2014-08-21 18:58:17 -04:00
Kevin Brown
c814143df8
Merge pull request #2609 from ivaynberg/issue_1535_contributor_guidelines
...
Add contributing guidelines
2014-08-21 17:38:02 -04:00
Kevin Brown
4645183054
Merge pull request #2227 from fabdouglas/patch-6
...
Ignore focus and error on IE7 for disabled select2
2014-08-17 16:49:25 -04:00
Kevin Brown
d6d9f95135
Merge pull request #2615 from mikaelkael/patch-1
...
Syntax error with IE embedded as ActiveX in fat client
2014-08-14 09:27:00 -04:00
Mickael Perraud
afdb0da5f3
Syntax error with IE embedded as ActiveX in fat client
...
Syntax error with IE embedded as ActiveX in fat client
2014-08-14 13:59:09 +02:00
torke1
651047d52a
Issue #2412
...
Maybe the fix is a bit ugly, but what it does is to make sure that we don't already have a select2-hidden-accessible span before we create a new one. Tested in several scenarios in our application and has solved the issue for us.
2014-08-13 17:27:07 +02:00
Kevin Brown
6df22fc4a8
Merge pull request #2580 from Phazeshift/master
...
Fixing 'Type mismatch' exception in destroy in IE11
2014-08-13 08:17:10 -04:00
Kevin Brown
0b3a690a29
Fixed a few links
2014-08-12 20:52:10 -04:00
Kevin Brown
3e77930b8a
Add IRC information to README
2014-08-12 20:50:38 -04:00
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