Merge pull request #1157 from okriuchykhin/ok_SCI_2432

Init selectpicker for move workflow to another experiment modal [SCI-2432]
This commit is contained in:
okriuchykhin 2018-05-23 12:58:58 +02:00 committed by GitHub
commit f61f069c95
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1606,7 +1606,7 @@ function initMoveModules() {
})
.on("shown.bs.modal", function(event) {
// Focus the text element
$(this).find(".selectpicker").focus();
$(this).find(".selectpicker").selectpicker().focus();
})
.on("hide.bs.modal", function (event) {
// When hiding modal, re-enable events
@ -1705,7 +1705,7 @@ function initMoveModuleGroups() {
})
.on("shown.bs.modal", function(event) {
// Focus the text element
$(this).find(".selectpicker").focus();
$(this).find(".selectpicker").selectpicker().focus();
})
.on("hide.bs.modal", function (event) {
// When hiding modal, re-enable events