Igor Vaynberg
|
c87e5706e7
cleaned up variable name. issue #32
|
13 سال پیش |
Grzegorz Kaczan
|
34913e9557
Add "select2-with-searchbox" to the dropdown container if search box is shown.
|
13 سال پیش |
Igor Vaynberg
|
7bd7139563
added a todo for next ver
|
13 سال پیش |
Igor Vaynberg
|
120aff9582
strip BOM from encoding, closes #30
|
13 سال پیش |
Igor Vaynberg
|
71848c1353
some minor code cleanup, also fixes #29
|
13 سال پیش |
Igor Vaynberg
|
654d1bd3b2
exposed open/close as public. issue #27
|
13 سال پیش |
Igor Vaynberg
|
578a8cb0da
trim values in arrays produced when splitting user-defined strings. closes #28
|
13 سال پیش |
Igor Vaynberg
|
8323051ce3
rewrite classes in a more readable way. closes #20
|
13 سال پیش |
Igor Vaynberg
|
1faea146d4
introduced destroy method, closes #18
|
13 سال پیش |
Igor Vaynberg
|
c8b274e9ab
added ajax.transport variable to provide a custom transport. closes #26
|
13 سال پیش |
Igor Vaynberg
|
54033cdb04
monitors source element for change events and syncs the selection. opts.initSelection function has to be specified by the user for this to work because ids have to be mapped back to objects. select2 provides this function automatically for select elements and tags helper.
|
13 سال پیش |
David Rosen
|
12a3e68256
Update select2.js
|
13 سال پیش |
Igor Vaynberg
|
6183a490a3
minor formatting cleanup
|
13 سال پیش |
Justin DuJardin
|
0645a09e8a
tags in the exports.
|
13 سال پیش |
Justin DuJardin
|
5094df886c
Remove duplicate window exports
|
13 سال پیش |
Igor Vaynberg
|
a16190c822
only call initSelection() when there is actual input. avoids making users implement empty input check in their initSelection()s
|
13 سال پیش |
Igor Vaynberg
|
19810405ce
automatically initialize selection in tagging mode. closes #19
|
13 سال پیش |
Igor Vaynberg
|
34a7f83f7b
removed misplaced logging
|
13 سال پیش |
Igor Vaynberg
|
d2ec53e33c
initial tagging support via opts.tags
|
13 سال پیش |
Igor Vaynberg
|
0ca86701ad
generalized selection initialization behind opts.initSelection
|
13 سال پیش |
Igor Vaynberg
|
bf25e5e7e4
export classes, issue #13
|
13 سال پیش |
Igor Vaynberg
|
b0b70243b6
correct namespace. issue #13
|
13 سال پیش |
Igor Vaynberg
|
c913b7e3f9
added reusable helpers into the global window.Select2 namespace. closes #13
|
13 سال پیش |
Igor Vaynberg
|
6fee67bcff
Merge pull request #5 from justindujardin/jdd-sizable
|
13 سال پیش |
Justin DuJardin
|
c5d6cb1327
Deal with non-existent style attributes, and returning calculated pixel widths as a fallback.
|
13 سال پیش |
Igor Vaynberg
|
40843b1b98
better handling of non-numeric ids
|
13 سال پیش |
Igor Vaynberg
|
26982e1952
change event, closes #11
|
13 سال پیش |
Igor Vaynberg
|
6bef0b5bf6
fix placeholder styling broken in a previous code cleanup. closes #12
|
13 سال پیش |
Igor Vaynberg
|
538c6d1584
camel cased a var and reformatted after jquery 1.4.2 compat change
|
13 سال پیش |
Justin DuJardin
|
b162567c22
jQuery 1.4.2 compatibility : - use attr() instead of prop() - use .bind() and .delegate() instead of .on() - pass ajax success handler as an argument, instead of chaining call to .success()
|
13 سال پیش |