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

1302 Commits

Author SHA1 Message Date
barryhunter
f511d5a2ff Allow overriding jquery's automatic cache-busting on ajax calls
By default jQuery (and Select2) add parameters to ajax calls, to invalidate browser caching. In certain circumstances its useful to disable this (eg when server sets good Cache-Control headers), this patch allows passing the cache/jsonpCallback params though to jquery's ajax function.
2013-04-14 23:14:16 +02:00
Julen Ruiz Aizpuru
8cb3698820 Fix #1172 -- Properly set width when allowClear is being used.
Signed-off-by: Igor Vaynberg <igor.vaynberg@gmail.com>
2013-04-12 07:58:31 -07:00
Igor Vaynberg
25549c787b Revert "applied fix for #1172 - Clear button overlaps text"
This reverts commit fd07c11484.
2013-04-12 07:58:13 -07:00
Igor Vaynberg
06c82f2d0b do not propagate change event from the search field out of the component. fixes #1178 2013-04-11 20:22:52 -07:00
Igor Vaynberg
733f19e549 Merge pull request #1180 from rice/bug/remove-inline-styles
Remove inline styles
2013-04-11 20:14:08 -07:00
Alex Rice
a0f35aba3f Remove inline styles 2013-04-12 02:57:03 +00:00
Igor Vaynberg
4a0851bce5 Array data with custom key (string) isn't returning matches. fixes #1179 2013-04-11 19:15:16 -07:00
Igor Vaynberg
fd07c11484 applied fix for #1172 - Clear button overlaps text 2013-04-11 15:00:17 -07:00
Igor Vaynberg
c7056adc80 Merge pull request #1177 from psybaron/master
Macedonian Locale Added
2013-04-11 08:21:34 -07:00
Marko Aleksic
d207a56c34 Macedonian locale added 2013-04-11 16:18:34 +02:00
Igor Vaynberg
2a792bd1c9 Merge pull request #1176 from hoopyfrood/master
Removed typo (extra character)
2013-04-10 15:41:24 -07:00
Martin K.
9057a9606f Update select2.js
See #1175 - fixed typo introduced in last commit
2013-04-10 19:33:23 -03:00
Igor Vaynberg
45995d0f34 fix tabindex for both multi and single. fixes #1169 2013-04-10 12:56:30 -07:00
leipie
bc2c780449 Fix tabindexing
Actually set tabindex on the select2-focusser for focussing on tab
navigation

Signed-off-by: Igor Vaynberg <igor.vaynberg@gmail.com>
2013-04-10 12:43:30 -07:00
Igor Vaynberg
f582d8ae15 Merge pull request #979 from mynameistechno/master
Fixes #291
2013-04-10 12:30:05 -07:00
Igor Vaynberg
92e2c6d56f Merge pull request #1073 from norlin/master
Fix initSelection method with empty input value
2013-04-10 08:22:10 -07:00
Igor Vaynberg
fffba0d1d2 fixes #1110 2013-04-09 20:36:23 -07:00
Igor Vaynberg
dc27a5b74d add a rejectable select event. fixes #1053 2013-04-09 19:53:11 -07:00
Igor Vaynberg
931862c6ef reverse selection gradient when opened up to have better separation. fixes #1040 2013-04-09 19:44:24 -07:00
Igor Vaynberg
2bf5a763c5 fix keystroke dropping when single select is opened by typing in unopened state really fast. fixes #949 2013-04-09 18:58:30 -07:00
Igor Vaynberg
bd2a8c6d84 centralize option tag to data element translation 2013-04-09 15:11:39 -07:00
Igor Vaynberg
49e9908656 Merge pull request #1162 from leipie/master
Fix IE8 clickable issues
2013-04-09 09:54:49 -07:00
Igor Vaynberg
598773258e fixes #1163 fixes #1160 fixes #1129 2013-04-09 09:51:24 -07:00
leipie
d1c81dfbe2 Make select whole select clickable in IE8 2013-04-09 17:12:01 +02:00
Igor Vaynberg
d2f27a0a8a Merge pull request #1149 from dplanella/master
Added Catalan translation
2013-04-08 16:38:18 -07:00
Igor Vaynberg
9d8ecc34f8 Merge pull request #1158 from Karmalakas/master
Lithuanian language translation added
2013-04-08 16:33:53 -07:00
Igor Vaynberg
511c1b8728 when resolving width use case insensitive expression. fixes #1065 2013-04-08 16:25:46 -07:00
Igor Vaynberg
de07ba2b16 apply offscreen class after calculating width because offscreen class resets the width. also use css('width') when copying width if it returns a usable value. fixes #1140. fixes #1079 2013-04-08 16:24:15 -07:00
Igor Vaynberg
ec83e76f5e Repack Hebrew Translation. closes #1154 2013-04-08 09:57:20 -07:00
mantas
266b168613 Email changed 2013-04-08 15:03:22 +03:00
mantas
b36850644e Fixed lithuanian translation 2013-04-08 14:03:03 +03:00
mantas
e8a0336894 Lithuanian language translation added 2013-04-08 13:12:14 +03:00
David Planella
66ad7efe4d Added Catalan translation 2013-04-06 11:48:35 +02:00
Igor Vaynberg
b774917b16 Merge pull request #1141 from AJenbo/master
Danish translation
2013-04-03 14:02:35 -07:00
Anders Jenbo
c2e417d6a8 ... 2013-04-03 20:28:05 +02:00
Anders Jenbo
3d80856643 Danish translation 2013-04-03 20:23:10 +02:00
Igor Vaynberg
d80ec81199 Merge pull request #1055 from jessefoster/autoDropdownWidth
Add option to automatically size dropdown width
2013-04-03 09:16:01 -07:00
Igor Vaynberg
45e1b20e97 Merge pull request #1136 from execjosh/japanese-translation
Add Japanese translation
2013-04-03 09:00:31 -07:00
execjosh
edddf961a1 Add Japanese translation 2013-04-03 17:10:24 +09:00
Igor Vaynberg
7047b81916 merging the hebrew locale commit from KingYes 2013-04-02 14:21:42 -07:00
Igor Vaynberg
8e63ca3eba Merge pull request #1127 from Iristyle/patch-1
Fix: Incorrect Bower specification
2013-04-01 08:40:27 -07:00
Ethan J. Brown
5b6eab0878 Fix: Incorrect Bower specification
- ~ version means 1.4.x, not >= 1.4 which is what we want
 - there is no spinner.gif, but there is a select2-spinner.gif
2013-04-01 12:12:04 -03:00
Igor Vaynberg
708064fbe8 Merge pull request #1123 from sineld/patch-1
Useless space removed.
2013-03-30 10:14:31 -07:00
Sinan Eldem
f70c5e2833 Useless space removed. 2013-03-30 12:30:29 +02:00
Igor Vaynberg
d3fc101ccb Merge pull request #1111 from lazyhammer/fix-choice-focus
Fix focus issue on multi-value select (closes #1109)
2013-03-28 08:53:45 -07:00
Dmitrii Chekaliuk
aedcc10b8f Fix focus issue on multi-value select
Inside the multi-value select box, when you hit backspace next to the
choice, it gets the `select2-search-choice-focus` class, but that class
is not being removed when select box loses the focus.
2013-03-28 02:29:59 +02:00
Igor Vaynberg
c951b72bce Add link to Yii integration. Closes #1102 2013-03-27 09:00:19 -07:00
Igor Vaynberg
e88d8904d5 Merge pull request #1101 from jkondratowicz/master
Add Polish translation
2013-03-27 08:36:29 -07:00
Jan Kondratowicz
a7bfe53361 Add Polish translation 2013-03-27 15:07:52 +01:00
Igor Vaynberg
2f69290e2d Merge pull request #1095 from nolamesa/patch-1
Fix for random scrolling when using hierarchical data
2013-03-26 12:19:35 -07:00