Commit 1ce257e0 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Use full url in togglewatchlist link

This stops the empty href attribute being automatically filled with a
nonexistent clean url by the browser.

Change-Id: I98526af08a468740ba456d66ffeaa0f56e5b12d5
Signed-off-by: default avatarRichard Mansfield <>
parent 6d83533b
......@@ -117,7 +117,7 @@ addLoadEvent(function () {
if ($('toggle_watchlist_link')) {
connect('toggle_watchlist_link', 'onclick', function (e) {
sendjsonrequest('togglewatchlist.json.php', {'view': viewid}, 'POST', function(data) {
sendjsonrequest(config.wwwroot + 'view/togglewatchlist.json.php', {'view': viewid}, 'POST', function(data) {
$('toggle_watchlist_link').innerHTML = data.newtext;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment