1
0
mirror of synced 2024-12-05 02:36:01 +03:00
Commit Graph

2029 Commits

Author SHA1 Message Date
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
Igor Vaynberg
f9f76d8b4c remove debug statement 2013-03-26 08:48:54 -07:00
nolamesa
5b0bbfeb7c Fix for random scrolling when using hierarchical data
When using hierarchical data there is a random scroll jump when hovering over select options. The reason is that in the case of hierarchical data the highlightable choices are <ul> and thus their outer height is many pixels (includes the children's height as well). A fix is to make the height calculations by using the the label divs.
2013-03-26 14:49:02 +02:00
Igor Vaynberg
545fb8f307 Merge pull request #1092 from michalmarek/master
Czech translation
2013-03-25 19:34:41 -07:00
Michal Marek
7770fb7b15 Czech translation
Czech translation with inflection function from David Vallner (author
of Slovak translation)
2013-03-26 01:56:36 +01:00
Igor Vaynberg
5782e07ff8 modified version identifiers in descriptors for release 3.3.2 2013-03-25 12:14:18 -07:00
Igor Vaynberg
2843a4f21f switch release to uglifyjs instead of closure 2013-03-25 12:13:45 -07:00
Igor Vaynberg
7a3d3dcd2b Revert "Added ajax.transport support to default options"
This reverts commit 04a6535bd5.
2013-03-25 09:17:19 -07:00
Igor Vaynberg
94c1706c67 clear off active class when closing. #1089 2013-03-25 08:57:35 -07:00
Igor Vaynberg
519070b11d fix label focussing bug on ios. fixes #1008. 2013-03-25 08:54:01 -07:00
Igor Vaynberg
45559654bc fixes #1057 2013-03-25 08:54:01 -07:00
Igor Vaynberg
67fb12dc9e Merge pull request #1086 from emodric/croatian_translation
Add Croatian translation
2013-03-25 08:24:29 -07:00
Edi Modrić
ed3a361581 Add Croatian translation 2013-03-25 13:34:31 +01:00
Igor Vaynberg
a624417556 Merge pull request #1083 from rvignacio/default_ajax.transport
Added ajax.transport default option
2013-03-23 21:22:34 -07:00
rvignacio
04a6535bd5 Added ajax.transport support to default options 2013-03-23 17:26:37 -03:00
Igor Vaynberg
74a2805dde Merge pull request #1081 from gboer/patch-2
Fix for when you specify tags using JSON-encoded select2-tags-attribute.
2013-03-23 13:21:18 -07:00
gboer
ea39b25bf6 Update select2.js
Fix for when you specify tags using JSON-encoded select2-tags-attribute.

And thank you for properly implementing my (earlier) submitted hack :)
2013-03-23 15:05:16 +01:00
Igor Vaynberg
4a1c8491a7 Merge pull request #1075 from salimkayabasi/master
added turkish translation
2013-03-22 08:47:19 -07:00
Salim KAYABAŞI
30cdb9ced7 turkish translation added 2013-03-22 12:53:54 +02:00
norlin
c8cae0a6c9 fix initSelection with empty input value 2013-03-22 10:14:39 +04:00
Mihail
381f173e55 Use $.prop() to get "multiple" attribute
The string 
opts.element.attr("multiple") 
returns:
1) string "multiple" - if element have attribute multiple (<select name="..." multiple></select>)
2) undefined - if element have not attribute multiple (<select name="..."></select>)
It is written in the documentation:
"As of jQuery 1.6, the .attr() method returns undefined for attributes that have not been set."
"To retrieve and change DOM properties, use the .prop() method."
(http://api.jquery.com/attr/)

I am propose use "prop" function. The string
opts.element.prop("multiple")
returns:
1) boolean "true" - if element have attribute multiple
2) boolean "false" - if element have not attribute multiple

After, the "multiple" variable use in check of the condition:
select2 = multiple ? new MultiSelect2() : new SingleSelect2();
Better use true/false variable value than "multiple"/undefined in this condition.

Tested in Opera 12 and IE 8.0.7601
2013-03-20 14:19:05 +02:00
Igor Vaynberg
b6186164fe Merge pull request #1060 from bigmihail/patch-1
Ukrainian translation file
2013-03-19 14:19:50 -07:00
bigmihail
8c3f71145e Create Ukrainian translation file 2013-03-19 22:58:59 +02:00
Igor Vaynberg
a425c124e1 Update README.md 2013-03-19 09:00:39 -07:00