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

626 Commits

Author SHA1 Message Date
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
Pierre Tachoire
540d37424f add french translation 2013-02-26 22:04:15 +01:00
Igor Vaynberg
5ea402a288 Merge pull request #921 from rfs/master
Add Brazilian Portuguese translation
2013-02-21 22:44:56 -08:00
Reginaldo Francisco
877e701f31 Add Brazilian Portuguese translation 2013-02-22 02:37:41 -03:00
Igor Vaynberg
1113b9dd64 strip down license header 2013-02-21 09:16:25 -08:00
Igor Vaynberg
55b8176c04 Merge pull request #915 from PVince81/triggerchangeflagforclear
triggerChange flag when calling clear() from val() with empty value
2013-02-21 08:50:58 -08:00
Igor Vaynberg
d3b013dd57 Merge pull request #913 from smartcorestudio/master
Russian translation file for Select2
2013-02-21 08:48:26 -08:00
Vincent Petry
08b75a1798 Do not trigger event when calling clear() from val() with empty value 2013-02-21 10:53:16 +01:00
smartcorestudio
ccb1c7a1e8 Create select2_locale_ru.js
Russian translation file for Select2
2013-02-21 13:21:49 +04:00
Igor Vaynberg
cd0adbe913 fix duplicate values in IE. fix #840 2013-02-20 19:06:05 -08:00
Igor Vaynberg
8e9e65f864 Error when clearing a single-select box multiple times. fix #908 2013-02-20 18:36:11 -08:00
Igor Vaynberg
26c33078bf Merge pull request #907 from blizzy78/german
Add German translation
2013-02-20 14:31:21 -08:00
Maik Schreiber
41777bd06f add German translation 2013-02-20 22:42:36 +01:00
Igor Vaynberg
852d6e824b modified version identifiers in descriptors for release 3.3.1 2013-02-20 09:57:22 -08:00
Igor Vaynberg
250447b53a Clicking the clear button raised the changed event twice. fixes #867 2013-02-20 08:51:03 -08:00
Igor Vaynberg
0b57067c8d Merge pull request #903 from mirceapricop/master
Remove -o-box-shadow for CSS cleanliness.
2013-02-20 08:38:08 -08:00
Mircea Pricop
f5b018dd09 Remove -o-box-shadow since it is not needed.
Opera implements box-shadow without a vendor prefix, so -o-box-shadow
is invalid.

See https://developer.mozilla.org/en-US/docs/CSS/box-shadow
2013-02-20 17:31:24 +01:00
Igor Vaynberg
1b2028f6af Merge pull request #901 from 1ed/hungarian-translation
added Hungarian translation
2013-02-20 08:24:24 -08:00
Gábor Egyed
9a37988a0a added Hungarian translation 2013-02-20 02:40:45 -08:00
Igor Vaynberg
38758d754b fix ajax url() context. fixes #895 2013-02-19 14:11:38 -08:00
Igor Vaynberg
70be25cc6d fix ajax url() context. fixes #895 2013-02-19 13:21:57 -08:00
Igor Vaynberg
9bf4614cd5 fix ajax url() context. fixes #895 2013-02-19 11:54:38 -08:00
Igor Vaynberg
6b65976e17 Merge pull request #893 from bgertonson/ajax_url
#608 fix to allow distinct ajax urls
2013-02-19 10:03:28 -08:00
Igor Vaynberg
b0fb36ece9 Merge pull request #886 from orloffv/patch-1
TypeError: Cannot call method 'positionDropdown' of undefined
2013-02-19 09:43:48 -08:00
Bryan Gertonson
302c87b197 Because a shared options object is passed around when creating each instance of a select2 widget, the query function that was built would use the last ajax url that was set on the options object for all select2 widgets. By using a variable scoped to the closure, the ajax url can be maintained per select2 instance. 2013-02-19 11:18:54 -06:00
Igor Vaynberg
4ca141f4bb added spanish translation. fixes #883 2013-02-19 09:17:15 -08:00
Vitaly
dea7979f11 TypeError: Cannot call method 'positionDropdown' of undefined 2013-02-19 12:19:27 +04:00
Lee Baker
6278e7cca0 Fixing when the data helper is a function for the local query
Signed-off-by: Igor Vaynberg <igor.vaynberg@gmail.com>
2013-02-16 18:33:27 -08:00
Igor Vaynberg
7d908da52f allow data helper to be a function 2013-02-14 19:52:43 -08:00
Igor Vaynberg
76cd145380 fix placeholder sizing. fixes #430 2013-02-14 01:05:28 -08:00
Igor Vaynberg
179ba17174 do not take over mouseup event in dropdown. fixes #857 2013-02-14 00:49:45 -08:00
Igor Vaynberg
c081d0f00c fix placeholder problem. fixes #853 2013-02-13 01:15:05 -08:00
Igor Vaynberg
244ba1bb43 add [it] locale transations 2013-02-13 00:53:25 -08:00
Igor Vaynberg
cd3d7421c4 allow hiding search field permanently. #189 2013-02-12 00:11:24 -08:00
Igor Vaynberg
8868d59176 delay creation of mask until opening. 2013-02-11 22:16:30 -08:00
Igor Vaynberg
2d97b78fc6 Merge pull request #845 from kevin-brown/master
Better imitate native experience on iOS
2013-02-11 20:29:25 -08:00
Kevin Brown
940d1f2d67 Better imitate native touch experience 2013-02-11 20:31:18 -05:00
Igor Vaynberg
9035dfcb93 equal and indexof need to support comparing items of differnet types, ie string vs number. this is needed because numeric ids stored in val() are strings and need to be compared against data ids which are numbers. fixes #840 2013-02-10 15:16:38 -08:00
Igor Vaynberg
b3a0c3269a ignore modifier keys when enter is pressed. fixes #836 2013-02-09 23:55:34 -08:00
Igor Vaynberg
acdbb02498 open multi dropdown on paste. fixes #577 2013-02-09 23:24:09 -08:00
Igor Vaynberg
52c8a9e2cb remove input height css. fixes #587 2013-02-09 23:15:05 -08:00