selectize-rails 0.8.4 → 0.8.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +1 -0
- data/README.md +1 -1
- data/lib/selectize-rails/version.rb +1 -1
- data/vendor/assets/javascripts/selectize.js +13 -9
- data/vendor/assets/stylesheets/selectize.bootstrap2.css +1 -1
- data/vendor/assets/stylesheets/selectize.bootstrap3.css +4 -4
- data/vendor/assets/stylesheets/selectize.css +1 -1
- data/vendor/assets/stylesheets/selectize.default.css +1 -1
- data/vendor/assets/stylesheets/selectize.legacy.css +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 83e805fa623f010e488f7d9f752b5e53bb58ccca
|
4
|
+
data.tar.gz: eb0b8b83577f5938df7590c484070148899a5c70
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 118382c5d79b39be6d46413a1516d309f4947962d67801ba9ec16f8a6d2f6a4f25aa6070ee2f03244e8b3657982c8c55603224187bab359259bb2cf637f2f1ab
|
7
|
+
data.tar.gz: c95ad1b729cba0c274b720d6bee7e4df8b165a4d1364dffb49ee05644c7cc8ae81654cc3458061d3efe3bab728f471246b3c1f48321ee8f123fe2c4152e11c43
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
|
3
3
|
| Version | Notes |
|
4
4
|
| -------:| ----------------------------------------------------------- |
|
5
|
+
| 0.8.5 | Update to v0.8.5 of selectize.js |
|
5
6
|
| 0.8.4 | Update to v0.8.4 of selectize.js |
|
6
7
|
| 0.8.3 | Update to v0.8.3 of selectize.js |
|
7
8
|
| 0.8.1 | Update to v0.8.1 of selectize.js |
|
data/README.md
CHANGED
@@ -41,11 +41,11 @@ See the [demo page of Brian Reavis](http://brianreavis.github.io/selectize.js/)
|
|
41
41
|
|
42
42
|
| Version | Notes |
|
43
43
|
| -------:| ----------------------------------------------------------- |
|
44
|
+
| 0.8.5 | Update to v0.8.5 of selectize.js |
|
44
45
|
| 0.8.4 | Update to v0.8.4 of selectize.js |
|
45
46
|
| 0.8.3 | Update to v0.8.3 of selectize.js |
|
46
47
|
| 0.8.1 | Update to v0.8.1 of selectize.js |
|
47
48
|
| 0.8.0 | Update to v0.8.0 of selectize.js |
|
48
|
-
| 0.7.7 | Update to v0.7.7 of selectize.js |
|
49
49
|
|
50
50
|
[older](CHANGELOG.md)
|
51
51
|
|
@@ -16,7 +16,7 @@
|
|
16
16
|
|
17
17
|
(function(root, factory) {
|
18
18
|
if (typeof define === 'function' && define.amd) {
|
19
|
-
define(factory);
|
19
|
+
define('sifter', factory);
|
20
20
|
} else if (typeof exports === 'object') {
|
21
21
|
module.exports = factory();
|
22
22
|
} else {
|
@@ -464,7 +464,7 @@
|
|
464
464
|
|
465
465
|
(function(root, factory) {
|
466
466
|
if (typeof define === 'function' && define.amd) {
|
467
|
-
define(factory);
|
467
|
+
define('microplugin', factory);
|
468
468
|
} else if (typeof exports === 'object') {
|
469
469
|
module.exports = factory();
|
470
470
|
} else {
|
@@ -583,7 +583,7 @@
|
|
583
583
|
}));
|
584
584
|
|
585
585
|
/**
|
586
|
-
* selectize.js (v0.8.
|
586
|
+
* selectize.js (v0.8.5)
|
587
587
|
* Copyright (c) 2013 Brian Reavis & contributors
|
588
588
|
*
|
589
589
|
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
|
@@ -603,7 +603,7 @@
|
|
603
603
|
|
604
604
|
(function(root, factory) {
|
605
605
|
if (typeof define === 'function' && define.amd) {
|
606
|
-
define(['jquery','sifter','microplugin'], factory);
|
606
|
+
define('selectize', ['jquery','sifter','microplugin'], factory);
|
607
607
|
} else {
|
608
608
|
root.Selectize = factory(root.jQuery, root.Sifter, root.MicroPlugin);
|
609
609
|
}
|
@@ -1799,12 +1799,15 @@
|
|
1799
1799
|
* Selects all items (CTRL + A).
|
1800
1800
|
*/
|
1801
1801
|
selectAll: function() {
|
1802
|
-
|
1803
|
-
if (
|
1804
|
-
|
1805
|
-
|
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();
|
1806
1809
|
}
|
1807
|
-
|
1810
|
+
self.focus();
|
1808
1811
|
},
|
1809
1812
|
|
1810
1813
|
/**
|
@@ -2633,6 +2636,7 @@
|
|
2633
2636
|
}
|
2634
2637
|
|
2635
2638
|
self.showInput();
|
2639
|
+
self.positionDropdown();
|
2636
2640
|
self.refreshOptions(true);
|
2637
2641
|
|
2638
2642
|
// select previous option
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* selectize.bootstrap3.css (v0.8.
|
2
|
+
* selectize.bootstrap3.css (v0.8.5) - Bootstrap 3 Theme
|
3
3
|
* Copyright (c) 2013 Brian Reavis & contributors
|
4
4
|
*
|
5
5
|
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
|
@@ -297,12 +297,12 @@
|
|
297
297
|
}
|
298
298
|
|
299
299
|
.selectize-dropdown .active {
|
300
|
-
color: #
|
301
|
-
background-color: #
|
300
|
+
color: #262626;
|
301
|
+
background-color: #f5f5f5;
|
302
302
|
}
|
303
303
|
|
304
304
|
.selectize-dropdown .active.create {
|
305
|
-
color: #
|
305
|
+
color: #262626;
|
306
306
|
}
|
307
307
|
|
308
308
|
.selectize-dropdown .create {
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: selectize-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Manuel van Rijn
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-11-
|
11
|
+
date: 2013-11-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|