1
0
mirror of synced 2024-11-23 21:36:09 +03:00
Commit Graph

2070 Commits

Author SHA1 Message Date
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
Igor Vaynberg
d482a6ed6a Update README.md 2013-03-19 08:54:47 -07:00
Igor Vaynberg
96ddc7ad4f Update README.md 2013-03-19 08:53:36 -07:00
Igor Vaynberg
1de786b8da Update README.md 2013-03-19 08:53:02 -07:00
Igor Vaynberg
1d2387f1e3 Merge pull request #1056 from dlx1986/bugfix
fix a bug when use multi
2013-03-19 08:30:38 -07:00
ZhongYou
6a58e99285 trigger "focus" event in focus function make chrome error:
"Uncaught RangeError: Maximum call stack size exceeded"
2013-03-19 18:01:12 +08:00
jfoster
7956d7aee3 Add option to automatically size dropdown width 2013-03-18 19:56:38 -04:00
Igor Vaynberg
6a29e594b6 Merge pull request #1052 from julen/eu-locale
Added Basque translation.
2013-03-18 08:18:49 -07:00
Julen Ruiz Aizpuru
2d636d5894 Added Basque translation. 2013-03-18 16:02:55 +01:00
Igor Vaynberg
4530e74e95 Merge pull request #1042 from JensRantil/fix-issue-1042
Bugfix: Avoid implosion of empty <option>s
2013-03-15 08:25:06 -07:00