Revize c9e95e38
Přidáno uživatelem Ondřej Fibich před asi 5 roky(ů)
application/views/main.php | ||
---|---|---|
<?php echo html::script('media/js/messages_cs', FALSE) ?>
|
||
<?php echo html::script('media/js/php.min', FALSE) ?>
|
||
<?php if (isset($google_jsapi_enabled)): ?><script type="text/javascript" src="https://www.google.com/jsapi"></script><?php endif ?>
|
||
<?php if (isset($mapycz_enabled)): ?><script type="text/javascript" src="https://api.mapy.cz/loader.js"></script><script type="text/javascript">Loader.load()</script><?php endif ?>
|
||
<?php if (isset($mapycz_enabled)): ?><script type="text/javascript" src="https://api.mapy.cz/loader.js" async="async" defer="defer"></script><?php endif ?>
|
||
<?php if (TextEditor::$instance_counter): ?>
|
||
<?php echo html::script('media/js/tinymce/tiny_mce', FALSE) ?>
|
||
<script type="text/javascript"><!--
|
Také k dispozici: Unified diff
Fixes #1121: Fix slow loading of mapy.cz if Loader not fetched (e.g. slow connection or offline). The mapy.cz API is loaded asynchronously now. The map loading is waiting in a loop until it is loaded.