Fixed a bug in which hiding a note could produce a spurious save conflict notification error.
The solution involves no longer calling Wiki.focused_editor( null ) in Wiki.hide_editor().
This commit is contained in:
parent
0b978c4f01
commit
403fda3590
2
NEWS
2
NEWS
|
@ -8,6 +8,8 @@
|
|||
* 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.
|
||||
* Fixed a bug in which hiding a note could produce a spurious save conflict
|
||||
notification error.
|
||||
|
||||
1.6.3: February 11, 2009
|
||||
* Introduced cache-busting code to make pages update more reliably after a
|
||||
|
|
|
@ -1528,9 +1528,6 @@ Wiki.prototype.hide_editor = function ( event, editor ) {
|
|||
this.clear_messages();
|
||||
this.clear_pulldowns();
|
||||
|
||||
if ( this.focused_editor )
|
||||
this.editor_focused( null );
|
||||
|
||||
if ( !editor ) {
|
||||
editor = this.focused_editor;
|
||||
this.focused_editor = null;
|
||||
|
@ -1567,9 +1564,6 @@ Wiki.prototype.delete_editor = function ( event, editor ) {
|
|||
this.clear_messages();
|
||||
this.clear_pulldowns();
|
||||
|
||||
if ( this.focused_editor )
|
||||
this.editor_focused( null );
|
||||
|
||||
if ( !editor ) {
|
||||
editor = this.focused_editor;
|
||||
this.focused_editor = null;
|
||||
|
|
Reference in New Issue