Closes #274, autosave in notes pane puts cursor at top of pane

This commit is contained in:
Dan Stillman 2006-09-08 00:20:42 +00:00
parent 5028880d38
commit bbedd3bd93

View file

@ -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>