Mercurial > wikked
changeset 319:f67457a976c8
Fix the history page.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Thu, 09 Oct 2014 13:16:21 -0700 |
parents | 4d22159b1836 |
children | 35e65cf4d866 |
files | wikked/assets/js/wikked/models.js |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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,