Merge pull request #63 from pranavk/master

give focus explicitly to loleafletframe after loading
pull/1/head
Andras Timar 8 years ago committed by GitHub
commit 77ae448b37

@ -254,7 +254,7 @@ var documentsMain = {
'<input name="access_token" value="' + access_token + '" type="hidden"/></form>';
// iframe that contains the Collabora Online
var frame = '<iframe id="loleafletframe" name= "loleafletframe" allowfullscreen style="width:100%;height:100%;position:absolute;"/>';
var frame = '<iframe id="loleafletframe" name= "loleafletframe" allowfullscreen style="width:100%;height:100%;position:absolute;" onload="this.contentWindow.focus()"/>';
$('#mainContainer').append(form);
$('#mainContainer').append(frame);

Loading…
Cancel
Save