Fix automatic size detection for map popups.
This commit is contained in:
parent
d274c0e3d8
commit
28e9a84da2
3 changed files with 27 additions and 31 deletions
|
@ -14,10 +14,7 @@
|
|||
|
||||
<tr><td></td><td>
|
||||
<p>Update home location when I click on the map? <input type="checkbox" value="1" <% unless @user.home_lat and @user.home_lon %> checked="checked" <% end %> id="updatehome" /> </p>
|
||||
<div id="map" style="border: 1px solid black; position: relative; width : 90%; height : 300px;">
|
||||
<% # This now just used to detect the width/height required for the popup. %>
|
||||
<p id="highlightinfo"></p>
|
||||
</div>
|
||||
<div id="map" style="border: 1px solid black; position: relative; width : 90%; height : 300px;"></div>
|
||||
</td></tr>
|
||||
</table>
|
||||
<%= submit_tag 'Save Changes' %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue