witten
/
luminotes
Archived
1
0
Fork 0

Read-only editors should not issue title change events. This fix also happens

to prevent links for read-only old revision notes from showing up in the "all
notes" note.
This commit is contained in:
Dan Helfman 2007-10-26 20:50:58 +00:00
parent 29ae81d1e3
commit f965eb1978
1 changed files with 2 additions and 1 deletions

View File

@ -319,7 +319,8 @@ Editor.prototype.scrape_title = function () {
var title = "";
// issue a signal that the title has changed and save off the new title
signal( this, "title_changed", this, this.title, title );
if ( this.read_write )
signal( this, "title_changed", this, this.title, title );
this.title = title;
}