commit bbedd3bd93612a8656fdb6b42dcc1825b36c78c5
parent 5028880d389e2a8606700bc848721059f880e636
Author: Dan Stillman <dstillman@zotero.org>
Date: Fri, 8 Sep 2006 00:20:42 +0000
Closes #274, autosave in notes pane puts cursor at top of pane
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/chrome/chromeFiles/content/scholar/bindings/noteeditor.xml b/chrome/chromeFiles/content/scholar/bindings/noteeditor.xml
@@ -28,6 +28,8 @@
<property name="note" onget="return this.noteRef;">
<setter>
<![CDATA[
+ var scrollPos = this.id('noteField').inputField.scrollTop;
+
this.noteRef = val;
if(this.note.getSource())
@@ -35,6 +37,8 @@
this.id('noteField').value = this.note.getNote();
this.id('links').item = this.note;
+
+ this.id('noteField').inputField.scrollTop = scrollPos;
]]>
</setter>
</property>