redmine_extensions 0.3.10 → 0.3.11
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 97e9d21e0e3d1e1700c7690bbd408ce0d5fa58ab1625265f22b1c046c3b81139
|
4
|
+
data.tar.gz: 4715f7b62a7cf0562418ff02d8c367d8b7d862203c337e4276c06f8ac2f768df
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a307a3fe10126d82391432ec790ff99d6b08a0ad50f74d4780d14e92042c8c3b0bd2ac49bb7e7f77ae753a5fdb365e309df85e572be37ccb349121ef3148dcec
|
7
|
+
data.tar.gz: ba808f7c9a4586dbda97afb9174529c46d74df73e04c4a1c48f5cb2933f5e461a6166eff5551c1af0cea014daf189e1dfcc81b91be510aaf1820c2f22435a062
|
@@ -91,7 +91,7 @@ EasyGem.schedule.require(function () {
|
|
91
91
|
show_toggle_button: true,
|
92
92
|
select_first_value: true,
|
93
93
|
autocomplete_options: {},
|
94
|
-
|
94
|
+
multiselectOnChange: null // onchange of multiselect input function
|
95
95
|
},
|
96
96
|
|
97
97
|
_create: function () {
|
@@ -139,10 +139,10 @@ EasyGem.schedule.require(function () {
|
|
139
139
|
this.element.css('margin-right', 0);
|
140
140
|
}
|
141
141
|
},
|
142
|
-
|
143
|
-
this.options.
|
142
|
+
setMultiselectOnChange: function (fn) {
|
143
|
+
this.options.multiselectOnChange = fn;
|
144
144
|
},
|
145
|
-
|
145
|
+
multiselectOnChange: function(select, fn) {
|
146
146
|
if (fn) select.on("change", fn);
|
147
147
|
},
|
148
148
|
|
@@ -160,7 +160,7 @@ EasyGem.schedule.require(function () {
|
|
160
160
|
option.prop('selected', that.getValue().indexOf(v.id) > -1);
|
161
161
|
select.append(option);
|
162
162
|
});
|
163
|
-
that.
|
163
|
+
that.multiselectOnChange(select, that.options.multiselectOnChange);
|
164
164
|
var $container = $elem.closest('.easy-multiselect-tag-container');
|
165
165
|
$container.find(':input').prop('disabled', true);
|
166
166
|
$container.children().hide();
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: redmine_extensions
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Easy Software Ltd
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-03-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|