From 7dc17cce79e01deeea3d7ba84e4e937c73594a50 Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Wed, 11 Aug 2010 10:07:14 +0200 Subject: [PATCH 1/1] Fixes #759: go back to history when closing diff --- redakcja/static/js/wiki/view_column_diff.js | 1 + 1 file changed, 1 insertion(+) 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(); }; -- 2.20.1