Commit e749898
committed
Fix abort with JSONP
We now check that the `abort` method actually exists before aborting
the request, as JSONP does not include the `abort` method because
a JSONP request technically cannot be aborted.
This closes select2#3217.1 parent a8e6cbc commit e749898
5 files changed
Lines changed: 23 additions & 15 deletions
File tree
- dist/js
- src/js/select2/data
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1668 | 1668 | | |
1669 | 1669 | | |
1670 | 1670 | | |
1671 | | - | |
1672 | | - | |
1673 | 1671 | | |
1674 | 1672 | | |
1675 | 1673 | | |
| |||
3275 | 3273 | | |
3276 | 3274 | | |
3277 | 3275 | | |
3278 | | - | |
3279 | | - | |
| 3276 | + | |
| 3277 | + | |
| 3278 | + | |
| 3279 | + | |
| 3280 | + | |
| 3281 | + | |
3280 | 3282 | | |
3281 | 3283 | | |
3282 | 3284 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1668 | 1668 | | |
1669 | 1669 | | |
1670 | 1670 | | |
1671 | | - | |
1672 | | - | |
1673 | 1671 | | |
1674 | 1672 | | |
1675 | 1673 | | |
| |||
3275 | 3273 | | |
3276 | 3274 | | |
3277 | 3275 | | |
3278 | | - | |
3279 | | - | |
| 3276 | + | |
| 3277 | + | |
| 3278 | + | |
| 3279 | + | |
| 3280 | + | |
| 3281 | + | |
3280 | 3282 | | |
3281 | 3283 | | |
3282 | 3284 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
47 | | - | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
48 | 52 | | |
49 | 53 | | |
50 | 54 | | |
| |||
0 commit comments