We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0e213c commit 1794c29Copy full SHA for 1794c29
public/js/script.js
@@ -534,6 +534,9 @@ function notify(body, callback) {
534
535
function dialog(title, value, callback) {
536
$('#dialog').find('input').val(value);
537
+ $('#dialog').on('shown.bs.modal', function () {
538
+ $('#dialog').find('input').focus();
539
+ });
540
$('#dialog').find('.btn-primary').unbind().click(function (e) {
541
callback($('#dialog').find('input').val());
542
});
0 commit comments