witten
/
luminotes
Archived
1
0
Fork 0

Fix for case where revisions list doesn't yet exist.

This commit is contained in:
Dan Helfman 2007-10-11 10:07:27 +00:00
parent 384ff85f86
commit 1875f1ed00
1 changed files with 1 additions and 1 deletions

View File

@ -1141,7 +1141,7 @@ Wiki.prototype.toggle_editor_changes = function ( event, editor ) {
event.stop();
// if there's already a cached revision list, display the changes pulldown with it
if ( editor.revisions_list.length > 0 ) {
if ( editor.revisions_list && editor.revisions_list.length > 0 ) {
new Changes_pulldown( this, this.notebook_id, this.invoker, editor );
return;
}