Fixed a bug in which moving a note and then clicking the "changes" tab on any other note failed to show that note's previous revisions.
This commit is contained in:
parent
38ddffd556
commit
0b978c4f01
2
NEWS
2
NEWS
|
@ -6,6 +6,8 @@
|
|||
* Fixed a bug in which clicking on an unfocused note didn't position the text
|
||||
cursor in the correct location.
|
||||
* Fixed bugs related to the display and hiding of previous note revisions.
|
||||
* Fixed a bug in which moving a note and then clicking the "changes" tab on
|
||||
any other note failed to show that note's previous revisions.
|
||||
|
||||
1.6.3: February 11, 2009
|
||||
* Introduced cache-busting code to make pages update more reliably after a
|
||||
|
|
|
@ -3049,9 +3049,8 @@ Wiki.prototype.toggle_editor_changes = function ( event, editor ) {
|
|||
|
||||
event.stop();
|
||||
|
||||
// if there's already a cached revision list, or the editor doesn't have a revision yet, then
|
||||
// display the changes pulldown and bail
|
||||
if ( ( editor.user_revisions && editor.user_revisions.length > 0 ) || !editor.revision ) {
|
||||
// if there's already a cached revision list, then display the changes pulldown and bail
|
||||
if ( ( editor.user_revisions && editor.user_revisions.length > 0 ) ) {
|
||||
new Changes_pulldown( this, this.notebook.object_id, this.invoker, editor );
|
||||
return;
|
||||
}
|
||||
|
|
Reference in New Issue