Fix broken note window when opened without an associated item
This commit is contained in:
parent
405c5114b8
commit
25f8b8350c
2 changed files with 3 additions and 8 deletions
|
@ -159,6 +159,9 @@
|
|||
if (this.item) {
|
||||
textbox.value = this.item.getNote();
|
||||
}
|
||||
else {
|
||||
textbox.value = ''
|
||||
}
|
||||
//textbox.inputField.scrollTop = scrollPos;
|
||||
|
||||
this._id('linksbox').hidden = !(this.displayTags && this.displayRelated);
|
||||
|
|
|
@ -66,14 +66,6 @@
|
|||
};
|
||||
]]></constructor>
|
||||
|
||||
<!-- Called when iframe browser is loaded. Until the browser is loaded, we can't do
|
||||
anything with it, so we just keep track of what's supposed to
|
||||
happen. -->
|
||||
<method name="_iframeLoaded">
|
||||
<body><![CDATA[
|
||||
]]></body>
|
||||
</method>
|
||||
|
||||
<property name="mode">
|
||||
<getter><![CDATA[
|
||||
if (!this._mode) {
|
||||
|
|
Loading…
Add table
Reference in a new issue