1
0
mirror of synced 2024-11-30 08:36:03 +03:00
Commit Graph

1426 Commits

Author SHA1 Message Date
Jake
ef9f1dea90 Fix for drop-auto-width collision detection and css border top
- collision detection was not moving the drop left based on the
difference between viewport and relative location of box (dropleft +
dropwidth)
- .select2-drop-active was overriding the .select2-drop-auto-width
making the shifted dropbox look a bit wierd
2013-11-07 16:21:52 -05:00
Igor Vaynberg
cb5b684ae5 Merge pull request #1887 from lukinpark/patch-1
Update select2.js
2013-11-07 10:09:07 -08:00
Igor Vaynberg
50698fd51c Merge pull request #1685 from jdecuyper/feature-enable-formatResultCssClass
Enable function formatResultCssClass.
2013-11-07 09:51:38 -08:00
Igor Vaynberg
fc4bbbb5ef Merge pull request #1846 from tpruvot/master
issue #1778: prevent delayed focus when the list is hidden
2013-11-07 07:40:45 -08:00
lukinpark
85de8cc1d6 Update select2.js
above function doesn't work great
2013-11-07 11:45:05 +01:00
Igor Vaynberg
261dad0ee6 Merge pull request #1877 from khaledhosny/master
Styling fixes for RTL direction
2013-11-06 08:37:37 -08:00
Igor Vaynberg
b747806e63 Merge pull request #1883 from dimakura/master
Georgian (Kartuli) language translation
2013-11-06 08:32:26 -08:00
Igor Vaynberg
8361f9a0e6 Merge pull request #1885 from bottomline/master
Initial fix for main accessibility issues
2013-11-06 08:23:27 -08:00
Jonathan Mahoney
78ccc05e04 Accessibility enhancements for single-value elements. Added correct ARIA attributes and associations. Much-improved screen-reader support (tested with NVDA on Firefox 25) 2013-11-06 12:55:12 +00:00
Dimitri Kurashvili
febb9cd03e Georgian (Kartuli) language translation
Georgian (Kartuli) language translation.
2013-11-05 21:00:38 +04:00
Igor Vaynberg
4059d81e6b modified version identifiers in descriptors for release 3.4.5 2013-11-04 08:22:44 -08:00
Igor Vaynberg
d3b65908e3 be sure to pull before releasing 2013-11-04 08:22:33 -08:00
Khaled Hosny
39f9fc79a5 Styling fixes for RTL direction
* Align the selects to the right
* Place the close button on the left to not cover parts of the label.
2013-11-04 08:07:39 +02:00
Pascal Borreli
9725363ada Fixed typos 2013-10-31 23:20:45 +00:00
Igor Vaynberg
9187ab0c12 Merge pull request #1859 from mxab/master
fixed invalid index in buildChangeDetails, fixes #1858
2013-10-31 15:05:29 -07:00
Max Bruchmann
2d13c0a00a fixed invalid index in buildChangeDetails, fixes #1858 2013-10-31 17:55:19 +01:00
Tanguy Pruvot
b757fb987d issue #1778: prevent delayed focus when the list is hidden
This reset the focus color when the TAB key is pressed.
2013-10-28 11:37:45 +01:00
Igor Vaynberg
cb7aefaeda fix keyboard removal of choices. fixes #1839 2013-10-26 07:57:53 -07:00
Igor Vaynberg
7fb1d01f64 modified version identifiers in descriptors for release 3.4.4 2013-10-24 13:23:11 -07:00
Igor Vaynberg
f8de47481f Merge pull request #1819 from jrlynchii/master
Modified syncCssClasses to use output of adapter when applying classes.
2013-10-20 19:22:24 -07:00
Riley Lynch
53d1fea248 Modified syncCssClasses to use output of adapter when applying a class rather than applying the original class 2013-10-20 13:14:31 -07:00
Igor Vaynberg
8647d51fd6 Merge pull request #1808 from cmcnulty/#1807-Mutation-Observer
#1807 add support for MutationObserver
2013-10-17 15:09:03 -07:00
cmcnulty
d5297ccd6d #1807 add support for MutationObserver
Better support mutation events in Firefox
2013-10-17 15:09:02 -05:00
Igor Vaynberg
92c6cef6cb Merge pull request #1801 from bobbyrenwick/patch-1
Fixing reference to undefined this triggering change on multiselect
2013-10-16 11:10:55 -07:00
Bob Renwick
8e46faa1d9 Fixing reference to undefined this triggering change on multiselect 2013-10-16 18:30:58 +01:00
Igor Vaynberg
e84a1207d0 Merge pull request #1795 from arendjr/master
Don't rely on :selected, makes Select2 compatible with jQuery builds without Sizzle
2013-10-15 08:04:21 -07:00
Arend van Beelen
fc44b96e84 Don't rely on :selected, makes Select2 compatible with jQuery builds without Sizzle. 2013-10-14 14:37:41 +02:00
Igor Vaynberg
f1807f2177 Merge pull request #1789 from STAH/unused-vars
Remove unused var declarations
2013-10-10 12:59:33 -07:00
stan
2a9154e0c7 Remove unused var declarations 2013-10-10 20:15:26 +02:00
Igor Vaynberg
d1f51910ee small cleanup in width regex matching. #1557 2013-10-09 08:30:26 -07:00
Igor Vaynberg
58f939ef3b Merge pull request #1774 from avelis/master
Fix for #1518. Update to select2.js to trigger properly named event.
2013-10-08 20:35:55 -07:00
Igor Vaynberg
2982be4ec9 fixes #1557 ...again... 2013-10-08 20:33:14 -07:00
Igor Vaynberg
0d0882942f Merge pull request #1639 from francoispluchino/fix-close-focus
Fix the focus when list is closed on the mouse click event
2013-10-08 20:25:21 -07:00
Igor Vaynberg
a3e188afe1 Merge pull request #1772 from KyKyPy3/master
Fix selection first element from "postprocessResults"
2013-10-08 20:21:47 -07:00
Igor Vaynberg
51ee7f8dc4 Merge pull request #1777 from yonjah/master
#1776 and #1722 dropdown position issue
2013-10-08 20:13:05 -07:00
Yoni Jah
a65a3ce038 #1776 and #1722 dropdown position issue 2013-10-08 12:37:37 +03:00
Andrew Velis
204d4a276e Update to unselect method to support "select2-removing" triggers.
The goal here is send off a triggered event to a subscriber that an
element is going to be removed. It hasn't removed yet but would be
after the event fires. I have also added logic to determine if a
subscriber has prevented default. This will prove useful in the future
if a subscriber needs to extend the functionality for other usages.
2013-10-07 20:47:12 -07:00
Andrew Velis
f39ab3080e Fix for #1518. Update to select2.js to trigger properly named event.
By the documentation the event that should be fired is "select2-removed" however the event that actually gets fired is called "removed"
2013-10-06 21:27:40 -07:00
Efremenko Roman
9266d7cf55 Fix selection first element from "postprocessResults" - exclude selected elements from highlightable elements 2013-10-06 17:02:03 +04:00
Igor Vaynberg
435b2581ff Merge pull request #1768 from kabitakis/master
corrections for the greek (el) locale file
2013-10-03 10:52:43 -07:00
Nikos Kampitakis
da0aecbdd1 corrections for the greek (el) locale file 2013-10-03 14:12:30 +03:00
Igor Vaynberg
f910bd42db Merge pull request #1764 from tjnurmin/patch-1
Update select2_locale_fi.js
2013-10-01 12:21:01 -07:00
Tapio Nurminen
037c139b0c Update select2_locale_fi.js
fixed typo in Finnish translation
2013-10-01 22:12:17 +03:00
Richard Huang
701e84ea21 append label only when formatted is not undefined 2013-09-19 11:19:10 +08:00
Igor Vaynberg
e78cf7759e Merge pull request #1729 from rschmitty/master
Update select2-bootstrap.css
2013-09-17 15:49:56 -07:00
Rick Schmitty
17f9b8ea0b Update select2-bootstrap.css
Added Bootstrap Validation states for warning, error, info, and success
2013-09-17 17:56:09 -04:00
Corinna Schmidt
5bd41fc00c Compatibility with jQuery 1.10
removeAttr("disabled') is no longer correct with the most recent version
of jQuery. Should use prop("disabled", false) instead.
2013-09-17 16:01:45 -04:00
Igor Vaynberg
9e7dde66b7 Merge pull request #1722 from yonjah/master
dropdown repostion fix when previous postion changes container position
2013-09-17 07:22:48 -07:00
Igor Vaynberg
057cf7e71b Merge pull request #1717 from ProLoser/patch-1
Fixes styling in bootstrap environment
2013-09-17 07:16:43 -07:00
Igor Vaynberg
c73261be21 Merge pull request #1723 from AlexanderZaytsev/master
Use more specific selector for finding options of a select
2013-09-17 07:14:50 -07:00