".. changes have overwritten changes made in another window by" message changed to support blank usernames (demo accounts).
This commit is contained in:
parent
a2c9cc2fa9
commit
87d57ad7c1
|
@ -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
|
||||
);
|
||||
|
||||
|
|
Reference in New Issue