From 87d57ad7c1c54f8ebb0402f1af5ce7e02d5794f2 Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Fri, 11 Jul 2008 15:02:28 -0700 Subject: [PATCH] ".. changes have overwritten changes made in another window by" message changed to support blank usernames (demo accounts). --- static/js/Wiki.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/Wiki.js b/static/js/Wiki.js index f0c8dcc..a8f058e 100644 --- a/static/js/Wiki.js +++ b/static/js/Wiki.js @@ -1498,7 +1498,7 @@ Wiki.prototype.update_editor_revisions = function ( result, editor ) { } ); this.display_error( 'Your changes to the note titled "' + editor.title + - '" have overwritten changes made in another window by ' + result.previous_revision.username + '.', + '" have overwritten changes made in another window by ' + ( result.previous_revision.username || 'you' ) + '.', [ compare_button ], editor.iframe );