From 0b920ca8a59d419a4ec1d1d613ec751be79f44a9 Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Sat, 1 Sep 2007 21:24:55 +0000 Subject: [PATCH] Changing unused "recent notes" href to different unused URL. (It's unused because a Javascript onclick handler overrides it.) --- static/js/Wiki.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/Wiki.js b/static/js/Wiki.js index 461379a..cb476f4 100644 --- a/static/js/Wiki.js +++ b/static/js/Wiki.js @@ -118,7 +118,7 @@ Wiki.prototype.populate = function ( result ) { appendChildNodes( span, createDOM( "h3", "this notebook" ) ); appendChildNodes( span, createDOM( "div", { "class": "link_area_item" }, - createDOM( "a", { "href": "/notebooks/" + this.notebook.object_id, "id": "recent_notes_link", "title": "View the most recently updated notes." }, "recent notes" ) + createDOM( "a", { "href": location.href, "id": "recent_notes_link", "title": "View the most recently updated notes." }, "recent notes" ) ) ); appendChildNodes( span, createDOM( "div", { "class": "link_area_item" }, createDOM( "a", { "href": "/notebooks/download_html/" + this.notebook.object_id, "id": "download_html_link", "title": "Download a stand-alone copy of the entire wiki notebook." }, "download as html" )