From 762de24bca912955404eab2cafaeade508c82227 Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Fri, 4 Jan 2008 21:43:54 +0000 Subject: [PATCH] Fixed bug that prevented loading notes to compare conflicting versions. --- static/js/Wiki.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/js/Wiki.js b/static/js/Wiki.js index c369336..577a198 100644 --- a/static/js/Wiki.js +++ b/static/js/Wiki.js @@ -1106,8 +1106,8 @@ Wiki.prototype.compare_versions = function( event, editor, previous_revision ) { this.clear_pulldowns(); // display the two revisions for comparison by the user - this.load_editor( editor.title, editor.id, previous_revision, null, editor.iframe ); - this.load_editor( editor.title, editor.id, null, null, editor.iframe ); + this.load_editor( editor.title, editor.id, previous_revision, null, editor.closed ? null : editor.iframe ); + this.load_editor( editor.title, editor.id, null, null, editor.closed ? null : editor.iframe ); } Wiki.prototype.save_editor = function ( editor, fire_and_forget ) {