Chris Stasiak
2515e19ed9
Removed BOM
2013-08-12 12:22:48 +02:00
Igor Vaynberg
2400357d59
small fix for #1604
2013-08-09 16:38:23 -07:00
jdecuyper
e1b50a306b
Add 'nextSearchTerm' function
...
- Given a previous selection 'nextSearchTerm' determines what the next search term should be.
- Remove some leftover tabs.
- Fix a typo: 'install the' instead of 'install sthe'.
2013-08-09 17:26:23 -05:00
Streid
e4c1e061e4
Tab to spaces
2013-08-09 11:33:41 +03:00
Streid
1d1212c5ed
Fix: Not working adaptDropdownCssClass callback.
2013-08-09 11:30:47 +03:00
Igor Vaynberg
59df6b4c9a
prevent scrolling when dropdown is opened. fixes #1540
2013-07-31 22:05:44 -07:00
Igor Vaynberg
e162a4802c
tweak how mask is created to remove jitter. fixes #1574
2013-07-31 21:41:37 -07:00
Igor Vaynberg
2ab64be416
Merge pull request #1563 from UltCombo/1562
...
Fixes #1562 do not trigger change on $().select2('data') unless specified with the second param
2013-07-30 09:41:56 -07:00
Igor Vaynberg
28ea518257
width: copy option needs to ignore min-width and max-width. fixes #1557
2013-07-27 10:02:27 -07:00
Igor Vaynberg
852784dd3f
fixes #1504 - undo changes made to labels during init
2013-07-26 23:58:38 -07:00
Igor Vaynberg
238903f5f4
close before destroying. fixes #1550
2013-07-26 22:22:21 -07:00
UltCombo
69396da14f
data method use the same triggerChange logic as val method
2013-07-25 21:41:22 -03:00
Fede Isas
337fac620e
add zepto compatibiliy
2013-07-25 16:44:41 -03:00
UltCombo
2d58f5b084
Fixes #1562 ; remove some dead code
...
No longer fire change event when .select2('data', falsyValue) is called without the 3rd param;
Dead code removed: !"" is true.
2013-07-23 18:55:09 -03:00
Ebbe Brandstrup
6eb74930d5
Fixed Tab key not respecting opts.selectOnBlur
2013-07-22 09:30:35 +02:00
Igor Vaynberg
92fe5018c9
fix 'autocaptilize' typo. fixes #1544
2013-07-18 14:05:47 -07:00
Igor Vaynberg
0c479b4cd1
additional tweal to #1528 to make formatters skip nulls
2013-07-17 00:32:41 -07:00
Igor Vaynberg
99dbc66d95
fix incorrect reference. fixes #1530
2013-07-15 23:10:19 -07:00
Igor Vaynberg
eaf2704a18
fixes #1528 Returning [] from data method on unset value for single-selects
2013-07-15 23:01:49 -07:00
UltCombo
a6c5302e71
fixes #1536
2013-07-15 11:59:34 -03:00
Igor Vaynberg
24716bc872
fixes #1513
2013-07-10 16:49:42 -07:00
Igor Vaynberg
1f09c7abaf
fix options with empty values. fixes #1497
2013-07-09 00:14:48 -07:00
Alexander Ryden
3e2f11d193
Remove the byte order mark
2013-07-08 13:56:11 +02:00
Igor Vaynberg
b8c203ca36
fix #1478
2013-07-03 23:08:55 -07:00
Igor Vaynberg
cdcdc98b55
copy style attr from original element. fixes #1476
2013-07-03 22:42:44 -07:00
Igor Vaynberg
bed05df474
Merge pull request #1486 from fjmilens3/select2-loaded-events
...
Added select2-loaded event trigger in loadMoreIfNeeded
2013-07-03 22:20:12 -07:00
Igor Vaynberg
88af7ce387
add missing semis. fixes #1489
2013-07-03 22:17:05 -07:00
Igor Vaynberg
37073f623a
Merge pull request #1485 from timisbusy/master
...
Trimming in opts.createSearchChoice
2013-07-03 15:27:58 -07:00
Igor Vaynberg
42d3ef4405
use click instead of mousedown so we dont break drag and drop support
2013-07-03 15:19:37 -07:00
Igor Vaynberg
ea14b7c30d
Merge pull request #1474 from geophree/query-fix
...
Ignore old queries, remove highlight when beginning a new query.
2013-07-03 15:19:15 -07:00
Frederick John Milens III
37bf85ead0
Added select2-loaded event trigger in loadMoreIfNeeded
2013-07-02 10:38:09 -05:00
Tim Atkinson
a469143f01
adding trim to opts.createSearchChoice default function to avoid mismatches with val object
2013-07-02 10:35:12 -04:00
Jeff Hanke
2a0cc76236
Remove ajax out-of-order dropping code, handled in updateResults now.
2013-07-01 13:30:44 -07:00
Igor Vaynberg
be535c7a77
add support for diacritics. fixes #1472
2013-06-28 10:05:12 -07:00
Jeff Hanke
1eb461a42c
Ignore old queries, remove highlight when beginning a new query.
2013-06-27 13:17:35 -07:00
Igor Vaynberg
76f9bae39a
fix js error that happens when enter is pressed and there is no highlighted option. fixes #1469
2013-06-27 08:15:58 -07:00
Mateusz Dereniowski
8fb7f46297
Add accurate comment to the 'equal' function
2013-06-27 10:30:09 +02:00
Jeff Hanke
338a126067
Always call createSearchChoice and tokenizer with the Select2 object as this.
2013-06-26 14:20:22 -07:00
Cyrille Jouineau
7303852862
replaces a <div> inside a <a> with a <span>
...
and minor code cleaning
2013-06-26 16:32:07 +02:00
Igor Vaynberg
75edea83b2
added support for data-locked=true next to locked=locked attr. fixes #503 .
2013-06-25 21:56:31 -07:00
Igor Vaynberg
4969dcb42c
fix #1396 - fix destroy() when double initting
2013-06-23 15:21:16 -07:00
Igor Vaynberg
ef136731d4
move markup escaping of selection into the formatSelection callback. fixes #1417 . fixes #1420
2013-06-23 14:32:45 -07:00
vitalets
c57dd1f0ff
fix: data not passed in select2-loaded event
2013-06-22 18:19:44 +04:00
Igor Vaynberg
3ab1aafae5
fix #1425 ctrl+enter should not open
2013-06-19 22:49:35 -07:00
Igor Vaynberg
ce67f7b7fb
fix #1426 - reinitting screws up tabindex
2013-06-19 22:39:03 -07:00
Igor Vaynberg
455067ed4e
fix #1391 make tabbing out work when no results message is shown
2013-06-13 21:02:49 -07:00
Igor Vaynberg
c36b53ad24
fix #1404 allow formatnomatches to be null in multiselects
2013-06-13 20:48:48 -07:00
Igor Vaynberg
48294f2aea
remove undermask for ie since its no longer needed after #1414
2013-06-13 20:34:59 -07:00
Igor Vaynberg
4aaa887b64
fix ie detection logic
2013-06-12 18:32:22 -07:00
Igor Vaynberg
7c729555e5
improve highlighting in single selects
2013-06-12 17:56:58 -07:00