Skip to content

Commit 34f1d18

Browse files
committed
Released 0.8.5.
1 parent 52f8ccc commit 34f1d18

16 files changed

+39
-31
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "selectize",
33
"keywords": ["select", "ui", "form", "input", "control", "autocomplete", "tagging", "tag"],
44
"description": "Selectize is a jQuery-based custom <select> UI control. Useful for tagging, contact lists, country selectors, etc.",
5-
"version": "0.8.4",
5+
"version": "0.8.5",
66
"license": "Apache License, Version 2.0",
77
"readmeFilename": "README.md",
88
"repository": {

dist/css/selectize.bootstrap2.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* selectize.bootstrap2.css (v0.8.4) - Bootstrap 2 Theme
2+
* selectize.bootstrap2.css (v0.8.5) - Bootstrap 2 Theme
33
* Copyright (c) 2013 Brian Reavis & contributors
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this

dist/css/selectize.bootstrap3.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* selectize.bootstrap3.css (v0.8.4) - Bootstrap 3 Theme
2+
* selectize.bootstrap3.css (v0.8.5) - Bootstrap 3 Theme
33
* Copyright (c) 2013 Brian Reavis & contributors
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this

dist/css/selectize.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* selectize.css (v0.8.4)
2+
* selectize.css (v0.8.5)
33
* Copyright (c) 2013 Brian Reavis & contributors
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this

dist/css/selectize.default.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* selectize.default.css (v0.8.4) - Default Theme
2+
* selectize.default.css (v0.8.5) - Default Theme
33
* Copyright (c) 2013 Brian Reavis & contributors
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this

dist/css/selectize.legacy.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* selectize.legacy.css (v0.8.4) - Default Theme
2+
* selectize.legacy.css (v0.8.5) - Default Theme
33
* Copyright (c) 2013 Brian Reavis & contributors
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this

dist/js/selectize.js

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* selectize.js (v0.8.4)
2+
* selectize.js (v0.8.5)
33
* Copyright (c) 2013 Brian Reavis & contributors
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
@@ -1215,12 +1215,15 @@
12151215
* Selects all items (CTRL + A).
12161216
*/
12171217
selectAll: function() {
1218-
this.$activeItems = Array.prototype.slice.apply(this.$control.children(':not(input)').addClass('active'));
1219-
if (this.$activeItems.length) {
1220-
this.hideInput();
1221-
this.close();
1218+
var self = this;
1219+
if (self.settings.mode === 'single') return;
1220+
1221+
self.$activeItems = Array.prototype.slice.apply(self.$control.children(':not(input)').addClass('active'));
1222+
if (self.$activeItems.length) {
1223+
self.hideInput();
1224+
self.close();
12221225
}
1223-
this.focus();
1226+
self.focus();
12241227
},
12251228

12261229
/**
@@ -2049,6 +2052,7 @@
20492052
}
20502053

20512054
self.showInput();
2055+
self.positionDropdown();
20522056
self.refreshOptions(true);
20532057

20542058
// select previous option

dist/js/selectize.min.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/js/standalone/selectize.js

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
(function(root, factory) {
1818
if (typeof define === 'function' && define.amd) {
19-
define(factory);
19+
define('sifter', factory);
2020
} else if (typeof exports === 'object') {
2121
module.exports = factory();
2222
} else {
@@ -464,7 +464,7 @@
464464

465465
(function(root, factory) {
466466
if (typeof define === 'function' && define.amd) {
467-
define(factory);
467+
define('microplugin', factory);
468468
} else if (typeof exports === 'object') {
469469
module.exports = factory();
470470
} else {
@@ -603,7 +603,7 @@
603603

604604
(function(root, factory) {
605605
if (typeof define === 'function' && define.amd) {
606-
define(['jquery','sifter','microplugin'], factory);
606+
define('selectize', ['jquery','sifter','microplugin'], factory);
607607
} else {
608608
root.Selectize = factory(root.jQuery, root.Sifter, root.MicroPlugin);
609609
}
@@ -1799,12 +1799,15 @@
17991799
* Selects all items (CTRL + A).
18001800
*/
18011801
selectAll: function() {
1802-
this.$activeItems = Array.prototype.slice.apply(this.$control.children(':not(input)').addClass('active'));
1803-
if (this.$activeItems.length) {
1804-
this.hideInput();
1805-
this.close();
1802+
var self = this;
1803+
if (self.settings.mode === 'single') return;
1804+
1805+
self.$activeItems = Array.prototype.slice.apply(self.$control.children(':not(input)').addClass('active'));
1806+
if (self.$activeItems.length) {
1807+
self.hideInput();
1808+
self.close();
18061809
}
1807-
this.focus();
1810+
self.focus();
18081811
},
18091812

18101813
/**
@@ -2633,6 +2636,7 @@
26332636
}
26342637

26352638
self.showInput();
2639+
self.positionDropdown();
26362640
self.refreshOptions(true);
26372641

26382642
// select previous option

dist/js/standalone/selectize.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/less/selectize.bootstrap2.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* selectize.bootstrap2.css (v0.8.4) - Bootstrap 2 Theme
2+
* selectize.bootstrap2.css (v0.8.5) - Bootstrap 2 Theme
33
* Copyright (c) 2013 Brian Reavis & contributors
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this

dist/less/selectize.bootstrap3.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* selectize.bootstrap3.css (v0.8.4) - Bootstrap 3 Theme
2+
* selectize.bootstrap3.css (v0.8.5) - Bootstrap 3 Theme
33
* Copyright (c) 2013 Brian Reavis & contributors
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this

dist/less/selectize.default.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* selectize.default.css (v0.8.4) - Default Theme
2+
* selectize.default.css (v0.8.5) - Default Theme
33
* Copyright (c) 2013 Brian Reavis & contributors
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this

dist/less/selectize.legacy.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* selectize.legacy.css (v0.8.4) - Default Theme
2+
* selectize.legacy.css (v0.8.5) - Default Theme
33
* Copyright (c) 2013 Brian Reavis & contributors
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "selectize",
33
"keywords": ["select", "ui", "form", "input", "control", "autocomplete", "tagging", "tag"],
44
"description": "Selectize is a jQuery-based custom <select> UI control. Useful for tagging, contact lists, country selectors, etc.",
5-
"version": "0.8.4",
5+
"version": "0.8.5",
66
"author": "Brian Reavis <brian@thirdroute.com>",
77
"repository": {
88
"type": "git",

selectize.jquery.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "selectize",
3-
"version": "0.8.4",
3+
"version": "0.8.5",
44
"title": "Selectize.js",
55
"author": {
66
"name": "Brian Reavis",

0 commit comments

Comments
 (0)