witten
/
luminotes
Archived
1
0
Fork 0

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:
Dan Helfman 2009-02-12 03:38:14 -08:00
parent 0b978c4f01
commit 403fda3590
2 changed files with 2 additions and 6 deletions

2
NEWS
View File

@ -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

View File

@ -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;