Use querystring, stop manually building urls
This commit is contained in:
parent
33aa0a6e45
commit
5fc7a47f6d
5 changed files with 297 additions and 64 deletions
|
@ -1,7 +1,7 @@
|
|||
<script type="text/javascript">
|
||||
<!--
|
||||
function describeLocation() {
|
||||
var args = getArgs($("#viewanchor").attr("href"));
|
||||
var args = querystring.parse($("#viewanchor").attr("href").split('?')[1]);
|
||||
|
||||
$("#sidebar_title").html("<%= t 'site.sidebar.search_results' %>");
|
||||
$("#sidebar_content").load("<%= url_for :controller => :geocoder, :action => :description %>", {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue