Closes #274, autosave in notes pane puts cursor at top of pane
This commit is contained in:
parent
5028880d38
commit
bbedd3bd93
1 changed files with 4 additions and 0 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue