Kevin Brown
d87e93dd45
Add shouldFocusInput
option [ Fix #1541 ]
...
This adds a `shouldFocusInput` option that determines whether or
not the focusser should be automatically focused. By default, the
focusser will always be focused, unless `minimumResultsForSearch`
is less than zero.
`close` on single selects took an option `params` argument which
at one point was used to tell the focusser to not automatically
focus. This was added at one point when tweaking the mask [1]
and later reverted to fix a bug that came as a result [2]. The
leftovers of this code has been removed in this commit.
[1]: e162a4802c
[2]: 9bc68f089e
2014-02-21 20:06:21 -05:00
Kevin Brown
b2b5ebd637
Merge pull request #2129 from campbell/master
...
Bugfix - only selected options that are not disabled should be used when initializing a dropdown
2014-02-21 10:27:01 -05:00
Pete Campbell
2a4e026b49
Bugfix - only selected options that are not disabled should be used when initializing the dropdown
2014-02-17 21:16:26 -05:00
Kevin Brown
0636e42cbc
Merge pull request #2098 from gdi2290/patch-1
...
update copyright year
2014-02-08 15:31:20 -05:00
Kevin Brown
97af0a39d9
Merge pull request #2106 from PeterMozesMerl/master
...
Update select2_locale_hu.js
2014-02-08 15:30:22 -05:00
PeterMozesMerl
b3d2d25ca2
Update select2_locale_hu.js
...
Language: "karakter". Grammar: missing comma.
2014-02-06 23:59:54 +01:00
PatrickJS
218021789f
update copyright year
2014-02-03 23:44:44 -08:00
Kevin Brown
3c28c35503
Merge pull request #2095 from mkurz/readonly_chaining
...
Allow chaining for .select2('readonly', ...)
2014-02-03 15:46:53 -08:00
Kevin Brown
beabb63f03
Merge pull request #2092 from colemanw/strings
...
Accept strings as well as functions for localization
2014-02-03 15:41:32 -08:00
Matthias Kurz
bd3bd55719
Allow chaining for .select2('readonly', ...)
2014-02-03 16:07:23 +01:00
Coleman Watts
175c78441f
Accept strings as well as functions for localization
2014-01-31 21:04:36 -08:00
Kevin Brown
596cf52d07
Merge pull request #2070 from jeanmonod/master
...
Allow to display item created by createSearchChoice at the end of the dropdown
2014-01-24 16:58:51 -08:00
Jeanmonod David
ed77cab7d5
Allow to display item created by createSearchChoice at the end of the list
...
ref #595
2014-01-24 18:54:56 +01:00
Kevin Brown
fb6e863839
Merge pull request #2065 from jdecuyper/hideSelectionFromResult-fix
...
Fix for hideSelectionFromResult
2014-01-21 10:05:44 -08:00
jdecuyper
c87615f14c
The function hideSelectionFromResult was tested against undefined as a property and not as a function
2014-01-21 11:45:13 -06:00
Kevin Brown
0f1372ce72
Merge pull request #1733 from flyerhzm/append-label-only-when-formatted-defined
...
append label only when formatted is not undefined
2014-01-21 05:49:36 -08:00
Kevin Brown
9cb18478a5
Merge pull request #2055 from mac2000/feature-request-search-input-placeholder
...
Optional Search Input Placeholder parameter added
2014-01-21 05:27:32 -08:00
Marchenko Alexandr
89ae701691
merge
2014-01-21 12:17:58 +02:00
Marchenko Alexandr
2e901f79a1
merge
2014-01-21 11:54:48 +02:00
Kevin Brown
e559f92c35
Merge pull request #2001 from arendjr/master
...
Don't rely on :visible and :not(..., ...) selectors which only work with Sizzle
2014-01-20 16:48:27 -08:00
Kevin Brown
cd92405312
Merge pull request #2053 from jdecuyper/feature-hide-selection-from-result
...
Add hideSelectionFromResult function
2014-01-20 06:30:12 -08:00
Kevin Brown
2244365790
Merge pull request #2056 from mkurz/fix_2042
...
Reset background position for multiple backgrounds [Fixes #2042 ]
2014-01-20 06:22:47 -08:00
Kevin Brown
a186a16235
Merge pull request #2057 from mkurz/dppx_fix
...
Use dppx instead of non-existing ppx resolution unit
2014-01-20 06:18:02 -08:00
Matthias Kurz
05efcaf160
Use dppx instead of non-existing ppx resolution unit
2014-01-20 11:50:46 +01:00
Matthias Kurz
6a3ec3f5de
Fix for #2042 Chrome bug: Reset the background position for multiple backgrounds
2014-01-20 11:46:39 +01:00
Marchenko Alexandr
f4886a0afa
Optional Search Input Placeholder parameter added
2014-01-20 11:38:33 +02:00
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