allowfullscreen
(cherry picked from commit 75a12f07e4474004cd3c7fd06a36fc07397eab95) Signed-off-by: Andras Timar <andras.timar@collabora.com>
This commit is contained in:
parent
6925e4f2f6
commit
5e42ea1dab
@ -90,7 +90,7 @@ var odfViewer = {
|
|||||||
FileList.setViewerMode(true);
|
FileList.setViewerMode(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
var $iframe = $('<iframe id="richdocumentsframe" style="width:100%;height:100%;display:block;position:absolute;top:0;" src="'+viewer+'" />');
|
var $iframe = $('<iframe id="richdocumentsframe" allowfullscreen style="width:100%;height:100%;display:block;position:absolute;top:0;z-index:5;" src="'+viewer+'" />');
|
||||||
if ($('#isPublic').val()) {
|
if ($('#isPublic').val()) {
|
||||||
// force the preview to adjust its height
|
// force the preview to adjust its height
|
||||||
$('#preview').append($iframe).css({height: '100%'});
|
$('#preview').append($iframe).css({height: '100%'});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user