# HG changeset patch # User Ludovic Chabant # Date 1412520481 25200 # Node ID edefa7e66e31d5cd65b1e1dacfea0d94982a424d # Parent 86d6732b522a14451628a93a119c0f638acad8ee Fix incorrect links in the UI for the "pages linking here" page. diff -r 86d6732b522a -r edefa7e66e31 wikked/assets/js/wikked/models.js --- a/wikked/assets/js/wikked/models.js Sun Oct 05 07:38:34 2014 -0700 +++ b/wikked/assets/js/wikked/models.js Sun Oct 05 07:48:01 2014 -0700 @@ -434,11 +434,7 @@ }); var IncomingLinksModel = exports.IncomingLinksModel = MasterPageModel.extend({ - urlRoot: '/api/inlinks/', - _onChangePath: function(path) { - IncomingLinksModel.__super__._onChangePath.apply(this, arguments); - this.set('url_read', '/#/read/' + path); - } + urlRoot: '/api/inlinks/' }); var WikiSearchModel = exports.WikiSearchModel = MasterPageModel.extend({ diff -r 86d6732b522a -r edefa7e66e31 wikked/assets/tpl/inlinks-page.html --- a/wikked/assets/tpl/inlinks-page.html Sun Oct 05 07:38:34 2014 -0700 +++ b/wikked/assets/tpl/inlinks-page.html Sun Oct 05 07:48:01 2014 -0700 @@ -4,7 +4,7 @@
Incoming Links
-

The following pages link to {{meta.title}}:

+

The following pages link to {{meta.title}}: