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) {
textbox.value = this.item.getNote();
}
else {
textbox.value = ''
}
//textbox.inputField.scrollTop = scrollPos;
this._id('linksbox').hidden = !(this.displayTags && this.displayRelated);

View file

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