Mercurial > wikked
changeset 94:3282a3e39fb4
Server is returning 404 errors correctly again.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Mon, 15 Apr 2013 20:50:27 -0700 |
parents | 6d962a238c03 |
children | ddd9f7efe80c |
files | static/js/wikked/views.js wikked/views.py |
diffstat | 2 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/static/js/wikked/views.js Sun Apr 14 23:05:56 2013 -0700 +++ b/static/js/wikked/views.js Mon Apr 15 20:50:27 2013 -0700 @@ -293,7 +293,7 @@ PageReadView.__super__._onModelChange.apply(this, arguments); // Fetch the state if the current page changed. - if (this.model.hasChanged('path') || this._firstRender) { + if (!this.isError && (this.model.hasChanged('path') || this._firstRender)) { this._checkPageState(); this._firstRender = false; }