Don't break new note creation

This commit is contained in:
Dan Stillman 2006-09-08 00:42:46 +00:00
parent bbedd3bd93
commit ea72af8be8

View file

@ -57,9 +57,11 @@ function onUnload()
var NotifyCallback = { var NotifyCallback = {
notify: function(){ notify: function(){
if (noteEditor.note){
noteEditor.note = noteEditor.note; noteEditor.note = noteEditor.note;
} }
} }
}
addEventListener("load", function(e) { onLoad(e); }, false); addEventListener("load", function(e) { onLoad(e); }, false);
addEventListener("unload", function(e) { onUnload(e); }, false); addEventListener("unload", function(e) { onUnload(e); }, false);