Fix broken note window when opened without an associated item
This commit is contained in:
parent
405c5114b8
commit
25f8b8350c
|
@ -159,6 +159,9 @@
|
||||||
if (this.item) {
|
if (this.item) {
|
||||||
textbox.value = this.item.getNote();
|
textbox.value = this.item.getNote();
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
textbox.value = ''
|
||||||
|
}
|
||||||
//textbox.inputField.scrollTop = scrollPos;
|
//textbox.inputField.scrollTop = scrollPos;
|
||||||
|
|
||||||
this._id('linksbox').hidden = !(this.displayTags && this.displayRelated);
|
this._id('linksbox').hidden = !(this.displayTags && this.displayRelated);
|
||||||
|
|
|
@ -66,14 +66,6 @@
|
||||||
};
|
};
|
||||||
]]></constructor>
|
]]></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">
|
<property name="mode">
|
||||||
<getter><![CDATA[
|
<getter><![CDATA[
|
||||||
if (!this._mode) {
|
if (!this._mode) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user