gluon-config-mode-geo-location: put map outside of section div
This commit is contained in:
parent
1ebdfbb168
commit
7abfeaab41
@ -59,7 +59,8 @@ return function(form, uci)
|
|||||||
#ifdef WITHMAP
|
#ifdef WITHMAP
|
||||||
|
|
||||||
text = text .. [[
|
text = text .. [[
|
||||||
<div id="locationPickerMap" style="width:100%; height:300px; display: none;"></div>
|
</div>
|
||||||
|
<div id="locationPickerMap" style="width:100%; height:400px; margin-bottom:20px !important; display: none;"></div>
|
||||||
<script type="text/javascript" src="/static/osm.js"></script>
|
<script type="text/javascript" src="/static/osm.js"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var latitude=]] .. show_lon() .. ",longitude=" .. show_lat() .. ",zoom=" .. site_zoom() .. [[;
|
var latitude=]] .. show_lon() .. ",longitude=" .. show_lat() .. ",zoom=" .. site_zoom() .. [[;
|
||||||
@ -75,6 +76,7 @@ return function(form, uci)
|
|||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<script onload="loadedContent();" type="text/javascript" src="]] .. show_olurl() .. [[?noCache=]] .. os.time() .. [["></script>
|
<script onload="loadedContent();" type="text/javascript" src="]] .. show_olurl() .. [[?noCache=]] .. os.time() .. [["></script>
|
||||||
|
<div>
|
||||||
]]
|
]]
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user