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:
parent
29ae81d1e3
commit
f965eb1978
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Reference in New Issue