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

1740 Commits

Author SHA1 Message Date
Igor G.
dae97ffc83 Remove duplication of "No matches found" message
In case if data is fetched in chunks, not at once, "No matches found" message is shown as many times as we requested for it.
Lets say we have 15 items, and data is fetched 5 at a time. After all items are selected, "No matches found" message would be duplicated 3 times.
2013-05-21 17:20:24 +03:00
Rajesh Meniya
ca446422d8 Create select2_locale_fi.js
Finnish translations
2013-05-21 17:32:21 +05:30
Igor Vaynberg
79a0f1de4f Merge pull request #1331 from execjosh/japanese-translation
Shorten Japanese translation for `formatNoMatches`
2013-05-20 08:50:48 -07:00
execjosh
2ac008c483 Shorten Japanese translation for formatNoMatches 2013-05-21 00:44:38 +09:00
Igor Vaynberg
02f3ede201 Merge pull request #1330 from execjosh/sync-translation-template-with-source
Sync translation template with source
2013-05-20 08:02:55 -07:00
execjosh
b0ffea89a6 Sync translation template with source
This change syncs the translation template with the actual string
used for `$.fn.select2.defaults.formatInputTooLong`.

The source was changed by 5193dc40b9.
2013-05-20 23:00:54 +09:00
Igor Vaynberg
70f1b29882 optimize mousemove listener. fixes #1328 2013-05-17 08:14:09 -07:00
Igor Vaynberg
38f6b2bd71 Merge pull request #1320 from jamesramsay/selected-css-class
Added support for css class for selected elements
2013-05-16 21:50:35 -07:00
James Ramsay
856dc0b526 Added support for css class for selected elements 2013-05-17 09:11:58 +10:00
Igor Vaynberg
06440a6bf8 MultiSelect JavaScript error - no method 'showSearch'. fixes #1311 2013-05-14 15:17:24 -07:00
Igor Vaynberg
de6d90c079 fix typo. fixes #1310 2013-05-14 14:05:33 -07:00
Igor Vaynberg
3b5b84fc99 Update README.md 2013-05-14 09:52:42 -06:00
Igor Vaynberg
95d3728b77 modified version identifiers in descriptors for release 3.4.0 2013-05-14 08:27:33 -07:00
Igor Vaynberg
2764752a94 Merge pull request #1306 from julen/no-bom
Removed BOM.
2013-05-14 08:14:14 -07:00
Julen Ruiz Aizpuru
66e06acde8 Removed BOM. 2013-05-14 11:41:31 +02:00
Igor Vaynberg
a345599807 Merge pull request #1299 from olragon/master
Create select2_locale_vi.js Vietnamese translation
2013-05-13 09:06:56 -07:00
Igor Vaynberg
6b357a9fe8 Merge pull request #1298 from dirkpostma/patch-1
Turn off autocorrect and autocapitilze
2013-05-13 09:05:55 -07:00
Long Nguyen
af81daf7bb Create select2_locale_vi.js Vietnamese translation 2013-05-13 13:03:42 +07:00
dirkpostma
f235a84aa8 Turn off autocorrect and autocapitilze
On e.g. mobile devices, it's more user friendly to turn off autocorrect in input fields. This patch adds the attributes autocorrect, autocapitilize and spellcheck. See also:

http://davidwalsh.name/disable-autocorrect
2013-05-12 21:06:16 +03:00
Igor Vaynberg
fa8d260114 Merge pull request #1292 from dshoulders/patch-1
Create select2_locale_is.js
2013-05-10 08:17:48 -07:00
dshoulders
834601e70b Create select2_locale_is.js
Icelandic translation
2013-05-10 16:27:37 +02:00
Igor Vaynberg
4e1873fb9d set maxlength on search when maximumInputLength is defined. closes #538 2013-05-10 00:43:30 -07:00
Igor Vaynberg
26751cb157 small css tweak. #929 2013-05-10 00:34:49 -07:00
Igor Vaynberg
828d7a5052 better way to remove outlines 2013-05-09 21:21:37 -07:00
Igor Vaynberg
7fc16ed094 fix focus in mobile. fixes #1018 2013-05-09 09:48:31 -07:00
Igor Vaynberg
49c05d35b4 norvegian locale 2013-05-09 08:20:35 -07:00
Igor Vaynberg
11c08cab12 bind/delegate -> on. #1260 2013-05-09 00:07:35 -07:00
Igor Vaynberg
92617ec54e preserve order of elements in the data call. fixes #1280 2013-05-08 23:53:30 -07:00
Igor Vaynberg
3d4595c834 Merge pull request #1284 from foxel/master
this.autofocus is undefined on destroy inside init
2013-05-08 22:30:58 -07:00
Foxel
a957ed81fd Fixed undefined this.autofocus on destroy while creating on element that already have select2 applied 2013-05-09 10:36:46 +07:00
Igor Vaynberg
5762b85dd2 prevent opening of a disabled select via api. fixes #1272 2013-05-07 12:39:18 -07:00
Igor Vaynberg
92ceb93e93 fix ajax defaults not to interfere with options 2013-05-07 09:07:03 -07:00
Igor Vaynberg
bcfa3fc702 show search if minimum input length has been set 2013-05-07 08:39:16 -07:00
Igor Vaynberg
43e6b86f75 prevent scrollback left on opening. fixes #467 2013-05-06 23:40:31 -07:00
Igor Vaynberg
13c1dcbf67 add default ajax options. fixes #1125 2013-05-06 21:20:08 -07:00
Igor Vaynberg
694432d83d fix fast typing in IE. fixes #949 2013-05-06 20:54:26 -07:00
Igor Vaynberg
26f41602b2 Merge pull request #1247 from juliankrispel/master
Display formatNoMatches when all ajax results are selected
2013-05-06 20:29:25 -07:00
Igor Vaynberg
e21018147c fixes #1263 2013-05-06 20:26:30 -07:00
Igor Vaynberg
d668ae76d0 select2-focus and select2-blur events. fixes #798. closes #866 2013-05-06 20:13:05 -07:00
Igor Vaynberg
882e7996f4 keep focus in control when the mask is clicked 2013-05-06 20:05:15 -07:00
Igor Vaynberg
4094c1c7de fix tab-on-select transfers focus to next element. fixes #898. fixes #1045 2013-05-06 19:42:38 -07:00
Igor Vaynberg
9c1caa6d3a add handling of autofocus attribute. fixes #837 2013-05-06 19:25:09 -07:00
Igor Vaynberg
18c2bc5cb9 need at least 1x1 px space to receive focus 2013-05-06 19:11:13 -07:00
Igor Vaynberg
b0959000b3 namespace events and consoldate select and selected into selecting. fixes #497. fixes #1262 2013-05-06 16:12:38 -07:00
Igor Vaynberg
266861ac51 fix parameter names 2013-05-06 15:26:46 -07:00
Igor Vaynberg
231cce0add Merge pull request #1187 from barryhunter/patch-2
Bugfix for Resetting Scrollpoint on Multi-select
2013-05-06 15:25:55 -07:00
Igor Vaynberg
5c709bac15 improve offscreen element positioning. fixes #1217. fixes #1218. fixes #1074 2013-05-06 15:23:46 -07:00
Igor Vaynberg
8008bfa8dc attr to prop change. #1260 2013-05-06 15:23:46 -07:00
Igor Vaynberg
c33b9d5e98 Merge pull request #1219 from alexhaas/master
select2-drop-mask background and transparency
2013-05-06 15:16:42 -07:00
Igor Vaynberg
0fe95eb07c Merge pull request #1062 from bigmihail/patch-1
Use $.prop() to get "multiple" attribute
2013-05-06 14:07:26 -07:00