Skip to content

Latest commit

 

History

History
24 lines (21 loc) · 1.06 KB

Annotation_Button.md

File metadata and controls

24 lines (21 loc) · 1.06 KB
  1. Enable write-access to ENSLIB database via the Management Portal.
  2. Open class EnsPortal.BPLEditor.
  3. Find line (around 389):
<textarea id="aAnnotation" label="Annotation" rows="3" cols="35" 
onchange="zenPage.activityChange(1);" 
onkeyup="zenPage.textControlKeyUp(zenEvent,zenThis);" 
onkeydown="zenPage.textControlKeyDown(zenThis);"/>
  1. Add line:
<image src="deepsee/zoom_16.png" 
onclick="zenPage.editPropertyValue('aAnnotation','code');" title="Edit value"/>
  1. Wrap both lines with hgroup tag:
<hgroup> <textarea id="aAnnotation" label="Annotation" rows="3" cols="35" onchange="zenPage.activityChange(1);" onkeyup="zenPage.textControlKeyUp(zenEvent,zenThis);" onkeydown="zenPage.textControlKeyDown(zenThis);"/>

<image src="deepsee/zoom_16.png" onclick="zenPage.editPropertyValue('aAnnotation','code');" title="Edit value"/> </hgroup>
  1. Compile EnsPortal.BPLEditor.
  2. Make ENSLIB database read-only.