mirror of https://gitee.com/bigwinds/arangodb
Potential fix for the ghost, killing the frontend test from time to time. Go Jenkins, find it
This commit is contained in:
parent
fcf3760dea
commit
9f790f3aa1
|
@ -335,7 +335,12 @@
|
||||||
//if input-field is available -> autofocus first one
|
//if input-field is available -> autofocus first one
|
||||||
var focus = $('#modal-dialog').find('input');
|
var focus = $('#modal-dialog').find('input');
|
||||||
if (focus) {
|
if (focus) {
|
||||||
setTimeout(function() {$(focus[0]).focus();}, 800);
|
setTimeout(function() {
|
||||||
|
var focus = $('#modal-dialog').find('input');
|
||||||
|
if (focus) {
|
||||||
|
$(focus[0]).focus();
|
||||||
|
}
|
||||||
|
}, 800);
|
||||||
}
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue