3 class DiffPerspective extends $.wiki.Perspective {
5 var old_callback = options.callback || function() {};
7 options.callback = function() {
9 self.base_id = options.base_id;
10 old_callback.call(this);
20 $.wiki.switchToTab('#HistoryPerspective');
21 $('#' + this.base_id).remove();
22 $('#' + this.perspective_id).remove();
25 $.wiki.DiffPerspective = DiffPerspective;