Fixes #759: go back to history when closing diff
authorRadek Czajka <radoslaw.czajka@nowoczesnapolska.org.pl>
Wed, 11 Aug 2010 08:07:14 +0000 (10:07 +0200)
committerRadek Czajka <radoslaw.czajka@nowoczesnapolska.org.pl>
Wed, 11 Aug 2010 08:07:14 +0000 (10:07 +0200)
redakcja/static/js/wiki/view_column_diff.js

index a212f81..33ffb6a 100644 (file)
@@ -19,6 +19,7 @@
     };
 
        DiffPerspective.prototype.destroy = function() {
+        $.wiki.switchToTab('#HistoryPerspective');
                $('#' + this.base_id).remove();
                $('#' + this.perspective_id).remove();
        };