From: Radek Czajka Date: Wed, 11 Aug 2010 08:07:14 +0000 (+0200) Subject: Fixes #759: go back to history when closing diff X-Git-Url: https://git.mdrn.pl/redakcja.git/commitdiff_plain/7dc17cce79e01deeea3d7ba84e4e937c73594a50 Fixes #759: go back to history when closing diff --- diff --git a/redakcja/static/js/wiki/view_column_diff.js b/redakcja/static/js/wiki/view_column_diff.js index a212f813..33ffb6a0 100644 --- a/redakcja/static/js/wiki/view_column_diff.js +++ b/redakcja/static/js/wiki/view_column_diff.js @@ -19,6 +19,7 @@ }; DiffPerspective.prototype.destroy = function() { + $.wiki.switchToTab('#HistoryPerspective'); $('#' + this.base_id).remove(); $('#' + this.perspective_id).remove(); };