mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-29 19:51:01 +08:00
Init selectpicker for move workflow to another experiment modal [SCI-2432]
This commit is contained in:
parent
2ac04ee476
commit
39b74d6f8a
1 changed files with 2 additions and 2 deletions
|
@ -1606,7 +1606,7 @@ function initMoveModules() {
|
||||||
})
|
})
|
||||||
.on("shown.bs.modal", function(event) {
|
.on("shown.bs.modal", function(event) {
|
||||||
// Focus the text element
|
// Focus the text element
|
||||||
$(this).find(".selectpicker").focus();
|
$(this).find(".selectpicker").selectpicker().focus();
|
||||||
})
|
})
|
||||||
.on("hide.bs.modal", function (event) {
|
.on("hide.bs.modal", function (event) {
|
||||||
// When hiding modal, re-enable events
|
// When hiding modal, re-enable events
|
||||||
|
@ -1705,7 +1705,7 @@ function initMoveModuleGroups() {
|
||||||
})
|
})
|
||||||
.on("shown.bs.modal", function(event) {
|
.on("shown.bs.modal", function(event) {
|
||||||
// Focus the text element
|
// Focus the text element
|
||||||
$(this).find(".selectpicker").focus();
|
$(this).find(".selectpicker").selectpicker().focus();
|
||||||
})
|
})
|
||||||
.on("hide.bs.modal", function (event) {
|
.on("hide.bs.modal", function (event) {
|
||||||
// When hiding modal, re-enable events
|
// When hiding modal, re-enable events
|
||||||
|
|
Loading…
Reference in a new issue