commit
deed4fc366
@ -204,10 +204,9 @@ var documentsMain = {
|
||||
|
||||
var frame = '<iframe id="loleafletframe" allowfullscreen style="width:100%;height:100%;position:absolute;" src="' + viewer + '" sandbox="allow-scripts allow-same-origin allow-popups allow-modals"/>';
|
||||
$('#mainContainer').append(frame);
|
||||
});
|
||||
|
||||
documentsMain.overlay.documentOverlay('hide');
|
||||
$('#loleafletframe').load(function(){
|
||||
documentsMain.overlay.documentOverlay('hide');
|
||||
var iframe = $('#loleafletframe').contents();
|
||||
iframe.find('#tb_toolbar-up_item_close').click(function() {
|
||||
documentsMain.onClose();
|
||||
@ -223,6 +222,7 @@ var documentsMain = {
|
||||
};
|
||||
})();
|
||||
});
|
||||
});
|
||||
},
|
||||
|
||||
hideEditor : function(){
|
||||
|
Loading…
x
Reference in New Issue
Block a user