On window popup, focus the first text-field, if any.

This commit is contained in:
Daniel Kimsey
2012-11-13 17:25:36 -05:00
parent df75d2d60c
commit ad749bf345
@@ -233,6 +233,7 @@
$('#gollum-dialog-dialog').animate({ opacity: 1 }, {
duration: 500
});
$($('#gollum-dialog-dialog input[type="text"]').get(0)).focus();
}
});
}