fix focus setting in resume screen

This commit is contained in:
Damien Elmes 2017-08-01 13:57:15 +10:00
parent d2507899c2
commit a5997e400b

View file

@ -477,10 +477,10 @@ the manual for information on how to restore from an automatic backup."))
<div style="position:relative; vertical-align: middle;"> <div style="position:relative; vertical-align: middle;">
%s<br> %s<br>
%s</div></div></center> %s</div></div></center>
<script>$('#resume').focus()</script>
""" % (i, b), css=self.sharedCSS) """ % (i, b), css=self.sharedCSS)
self.bottomWeb.hide() self.bottomWeb.hide()
self.web.setFocus() self.web.setFocus()
self.web.eval("$('#resume').focus()")
# HTML helpers # HTML helpers
########################################################################## ##########################################################################