Revert "make app portable through uri_base"

This reverts commit c555fc9330.
This commit is contained in:
Oliver Gorwits
2012-01-18 11:29:21 +00:00
parent c555fc9330
commit 32ecdbefb7
18 changed files with 54 additions and 59 deletions

View File

@@ -18,7 +18,7 @@
);
// submit the query and put results into the tab pane
$(target).load( '[% uri_base %]/ajax/content/search/' + tab + '?' + query,
$(target).load( '/ajax/content/search/' + tab + '?' + query,
function(response, status, xhr) {
if (status !== "success") {
$(target).html(
@@ -33,7 +33,7 @@
);
}
// looks good, update the bookmark for this search
$(mark).attr('href', '[% uri_base %]/search?' + query);
$(mark).attr('href', '/search?' + query);
}
);
}