Fix Related/Tags in standalone note window

This commit is contained in:
Dan Stillman 2009-08-11 05:16:27 +00:00
parent e981f03514
commit bb3c2ff55d
2 changed files with 12 additions and 1 deletions

View file

@ -89,6 +89,7 @@
this._mode = val;
document.getAnonymousNodes(this)[0].setAttribute('mode', val);
this._id('links').mode = val;
]]>
</setter>
</property>
@ -396,6 +397,14 @@
]]>
</setter>
</property>
<property name="mode">
<setter>
<![CDATA[
this.id('seeAlso').mode = val;
this.id('tags').mode = val;
]]>
</setter>
</property>
<method name="tagsClick">
<body>
<![CDATA[

View file

@ -149,7 +149,9 @@
var row = document.createElement("row");
row.appendChild(box);
row.appendChild(remove);
if (this.editable) {
row.appendChild(remove);
}
row.setAttribute('id', 'seealso-' + related[i].id);
rows.appendChild(row);
}