From ea72af8be86efb87e9c28efd37e1d9ad24454448 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Fri, 8 Sep 2006 00:42:46 +0000 Subject: [PATCH] Don't break new note creation --- chrome/chromeFiles/content/scholar/note.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/chrome/chromeFiles/content/scholar/note.js b/chrome/chromeFiles/content/scholar/note.js index 952aa2a7dd..23cd5db8e1 100644 --- a/chrome/chromeFiles/content/scholar/note.js +++ b/chrome/chromeFiles/content/scholar/note.js @@ -57,7 +57,9 @@ function onUnload() var NotifyCallback = { notify: function(){ - noteEditor.note = noteEditor.note; + if (noteEditor.note){ + noteEditor.note = noteEditor.note; + } } }