mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-10-06 20:05:55 +08:00
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:
commit
f61f069c95
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…
Add table
Reference in a new issue