|
|
@ -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"/>';
|
|
|
|
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);
|
|
|
|
$('#mainContainer').append(frame);
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
documentsMain.overlay.documentOverlay('hide');
|
|
|
|
|
|
|
|
$('#loleafletframe').load(function(){
|
|
|
|
$('#loleafletframe').load(function(){
|
|
|
|
|
|
|
|
documentsMain.overlay.documentOverlay('hide');
|
|
|
|
var iframe = $('#loleafletframe').contents();
|
|
|
|
var iframe = $('#loleafletframe').contents();
|
|
|
|
iframe.find('#tb_toolbar-up_item_close').click(function() {
|
|
|
|
iframe.find('#tb_toolbar-up_item_close').click(function() {
|
|
|
|
documentsMain.onClose();
|
|
|
|
documentsMain.onClose();
|
|
|
@ -223,6 +222,7 @@ var documentsMain = {
|
|
|
|
};
|
|
|
|
};
|
|
|
|
})();
|
|
|
|
})();
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
});
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
hideEditor : function(){
|
|
|
|
hideEditor : function(){
|
|
|
|