On window popup, focus the first text-field, if any.
This commit is contained in:
@@ -233,6 +233,7 @@
|
|||||||
$('#gollum-dialog-dialog').animate({ opacity: 1 }, {
|
$('#gollum-dialog-dialog').animate({ opacity: 1 }, {
|
||||||
duration: 500
|
duration: 500
|
||||||
});
|
});
|
||||||
|
$($('#gollum-dialog-dialog input[type="text"]').get(0)).focus();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user