Fix broken note window when opened without an associated item

This commit is contained in:
Dan Stillman 2008-10-21 19:19:18 +00:00
parent 405c5114b8
commit 25f8b8350c
2 changed files with 3 additions and 8 deletions

View File

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

View File

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