Jens Rantil
eac267b11f
Bugfix: Avoid implosion of empty <option>s
...
When using select2 on
<select>
<option value="empty"></option>
<option>Val 1</option>
<option>Val 2</option>
</select>
The top option will not have the correct height.
2013-03-15 11:15:03 +01:00
Igor Vaynberg
b826b7f5e3
Merge pull request #1035 from millimoose/master
...
Slovak localisation
2013-03-14 14:00:37 -07:00
David Vallner
e66344761b
Create Slovak localisation file
2013-03-14 21:42:54 +01:00
Igor Vaynberg
9acfc6faa5
prevent duplicate queries
2013-03-14 12:47:46 -07:00
Igor Vaynberg
3be8547584
added new loaded event. fixes #930
2013-03-14 12:00:06 -07:00
Igor Vaynberg
86a8190080
Loading icon doesn't disappear when using tags with auto tokenization. fixes #1005
2013-03-14 11:39:45 -07:00
Igor Vaynberg
b973b56cce
Calling select2('open') on multiple select shows 'No Matches Found'.
2013-03-14 11:31:11 -07:00
Igor Vaynberg
911a0bb082
prevent form from being submitted when enter is pressed in multiselect. fixes #961
2013-03-14 11:14:37 -07:00
Igor Vaynberg
dd34cc5d67
always show spinner during searching. fixes #950 fixes #943
2013-03-14 10:00:25 -07:00
Igor Vaynberg
fcce8aaba4
Merge pull request #1032 from JensRantil/make-inline-friendlier
...
Centering select2 vertically
2013-03-14 08:25:08 -07:00
Jens Rantil
518cdf8600
Centering select2 vertically
...
This makes Select2 behave much more sane when it's put inline inbetween
text.
2013-03-14 15:00:09 +01:00
Igor Vaynberg
f60c40d484
Merge pull request #1028 from JensRantil/swedish-translation
...
Swedish translation
2013-03-13 11:13:08 -07:00
Jens Rantil
75dd4a60ff
Swedish translation
2013-03-13 19:06:08 +01:00
Igor Vaynberg
95bbabe5a8
Merge pull request #1025 from JensRantil/enter-less-chars-fix
...
Minor grammar fix
2013-03-13 10:24:41 -07:00
Igor Vaynberg
3b6766c14e
Merge pull request #1026 from JensRantil/translation-process-improvements
...
Translation process improvements
2013-03-13 10:24:05 -07:00
Jens Rantil
84e5cbb154
Suggesting author header in translation files
...
This can be highly useful when a translation need to be updated and you
need to contact an older translator.
2013-03-13 18:01:28 +01:00
Jens Rantil
96d319f9d2
Mentioning i18n in README
...
Should probably be documented on http://ivaynberg.github.com/select2/ ,
too, but I'm not very much of a Jekyll dude.
2013-03-13 17:59:59 +01:00
Jens Rantil
54dbb825a8
Adding a translation template
...
This will make it easier to translate to other languages.
2013-03-13 17:52:17 +01:00
Jens Rantil
5193dc40b9
Fixing grammar
...
I find it hard to "type" less characters. It's sort of unintuitive.
2013-03-13 17:38:34 +01:00
Igor Vaynberg
759fb439fe
Merge pull request #1021 from frntz/master
...
Fix escapeMarkup regexp
2013-03-13 08:03:21 -07:00
frntz
78312ce33f
Slash doesn't escaped
...
Caused problems during uglify minification
2013-03-13 08:40:47 +01:00
Igor Vaynberg
ae4b24a7e8
workaround for IE when manipulating classes. fixes #937 fixes #1017
2013-03-12 09:27:11 -07:00
Igor Vaynberg
89bb328a77
Update README.md
2013-03-12 00:05:18 -07:00
Igor Vaynberg
fb158ed0c8
change how offscreen css is defined. finxes #1011
2013-03-11 16:28:27 -07:00
Igor Vaynberg
814e8b5bed
fix #1000
2013-03-07 16:04:19 -08:00
Igor Vaynberg
3acecf1b9d
Merge pull request #999 from stefandroog/master
...
Dutch language support
2013-03-07 11:31:40 -08:00
Stefan Droog
e31abcf3cb
Dutch language support
...
Dutch language support
2013-03-07 20:24:45 +01:00
Igor Vaynberg
8609bee8f1
fix bug in css
2013-03-05 19:30:54 -08:00
Igor Vaynberg
6ea386bd67
Merge pull request #981 from backstop/master
...
Makes it so we don't query every time we select when maximumSelectionSize is 0
2013-03-05 09:16:34 -08:00
Stephen Starkey
e7f2aeaf08
Don't update results if maximumSelectionSize is 0
...
a maximumSelectionSize of zero means unlimited, which means
we shouldn't be updating results if it's set to 0
2013-03-05 10:31:28 -06:00
Igor Vaynberg
4a3d3c88ac
Merge pull request #972 from kevin-brown/master
...
Added pt-PT localisation
2013-03-04 18:03:33 -08:00
Kevin Brown
27f736cb56
Fixed artifacts in pt-PT translation
2013-03-04 20:35:55 -05:00
Igor Vaynberg
1edfde783c
Merge pull request #974 from nkenneweg/master
...
Bugfix for Resetting Scrollpoint when loading more data.
2013-03-04 08:20:00 -08:00
Nils Kenneweg
414c376a1a
fixed a bug resetting scroll when loading more data.
2013-03-04 13:54:03 +01:00
Kevin Brown
90dc789cd9
Added pt-PT localisation [ Fixes #970 ]
2013-03-03 14:21:11 -05:00
Igor Vaynberg
fb69e3a3f0
Merge pull request #971 from jackyyf/master
...
Chinese Locale Added
2013-03-03 10:12:26 -08:00
Jack Yu
4e676af9f2
Chinese Locale Added
2013-03-04 01:46:06 +08:00
Igor Vaynberg
3fe95ac5a4
Merge pull request #966 from djsmith42/master
...
Fix mask height/width when document is shorter than window
2013-03-01 14:59:55 -08:00
Dave Smith
953b6f2ac1
Fix mask height/width when document is shorter than window
...
When the document element (e.g., the body) is shorter than the window,
the select2-drop-mask was not extending all the way to the bottom
of the browser viewport, leading to an area below the body that was
clickable but that select2 did not notice. Thus, if a user clicked
down there, the drop would not disappear. This is particularly
troublesome if the page contains absolutely positioned elements at
the bottom of the browser window.
2013-03-01 15:05:46 -07:00
Igor Vaynberg
66860b2811
Merge pull request #964 from adam-iris/master
...
Fix for issue #934
2013-03-01 10:47:40 -08:00
Igor Vaynberg
debbcfcede
correctly filter out selected options out of elements loaded by infinite scroll. fixes #881
2013-03-01 09:11:45 -08:00
Igor Vaynberg
27f6c0198a
fix dropdown mask in ie7/8. fixes #926
2013-03-01 08:48:17 -08:00
Igor Vaynberg
5ae70eca5f
work around a firefox bug when calculation search width. fixes #944
2013-03-01 08:29:40 -08:00
Igor Vaynberg
31101764ff
add missing element prop to data. fix #936
2013-03-01 00:54:11 -08:00
Igor Vaynberg
8520793f25
workaround for chrome focus bug. fixes #939
2013-02-28 19:47:19 -08:00
Igor Vaynberg
5a6d1e0947
Merge pull request #953 from openwide-java/fix-typos-in-french-translation
...
Fix 2 typos in the French translation
2013-02-28 08:30:45 -08:00
Guillaume Smet
a867257584
fix typos in the French translation
2013-02-28 15:40:59 +01:00
Adam
dacf51361d
Default local initSelection returns the actual selected items
...
Fix for issue #934 . The default initSelection uses a matcher to find
items that match the selection, but if the data is hierarchical what
the matcher returns may actually be grouping elements, so they can't be
treated as a list of matching items. This fix runs the matcher but
rather than using its return value it collects the matching item(s)
into a closure-scoped variable and then returns that.
2013-02-27 17:05:19 -08:00
Igor Vaynberg
83d77cfa62
fix search field focussing problems. fixes #922
2013-02-27 08:53:44 -08:00
Igor Vaynberg
9c2170c64e
Merge pull request #941 from krichprollsch/fr_locale
...
add french translation
2013-02-26 18:31:31 -08:00