# HG changeset patch # User Ludovic Chabant # Date 1412885781 25200 # Node ID f67457a976c80c67e3c3b1a6253f21da626889ca # Parent 4d22159b1836ae2ec038071bccd19519b0afc1f5 Fix the history page. diff -r 4d22159b1836 -r f67457a976c8 wikked/assets/js/wikked/models.js --- a/wikked/assets/js/wikked/models.js Thu Oct 09 13:08:37 2014 -0700 +++ b/wikked/assets/js/wikked/models.js Thu Oct 09 13:16:21 2014 -0700 @@ -346,7 +346,7 @@ var rev2 = $('input[name=rev2]:checked', form).val(); this.navigate('/diff/r/' + this.get('path') + '/' + rev1 + '/' + rev2, { trigger: true }); }, - _onChangePath: function(path) { + _onChangePath: function(model, path) { PageHistoryModel.__super__._onChangePath.apply(this, arguments); this.set({ url_read: '/#/read/' + path,