[InterMine Dev] Why does adding a bag displayer blow away the list table?

Sam Hokin shokin at ncgr.org
Wed Nov 2 15:15:40 GMT 2016

Never mind, figured it out. I added a current JQuery 3.1.1 load because of some newer code that I'm using; JQuery no longer supports 
the jQuery('textarea#textarea').autoResize() function, which broke the list description textarea and table. So, I guess a word to 
the wise about using JQuery 3.

On 11/01/2016 06:08 PM, Sam Hokin wrote:
> Hi, devs! I just noticed something that I can't seem to rectify: when I added a bag displayer to my Gene entry in
> webconfig-model.xml, the table that summarizes the list vanishes from the top. If I comment the displayer out, the table returns.
> I've included screenshots of the two cases, and here's the XML:
>   <class className="org.intermine.model.bio.Gene">
>     <fields>
>       <fieldconfig fieldExpr="organism.name" label="Organism" />
>       <fieldconfig fieldExpr="primaryIdentifier" label="DB identifier" />
>       <fieldconfig fieldExpr="length" displayer="/model/sequenceShortDisplayerWithField.jsp" showInInlineCollection="true"
> showInSummary="true" />
>     </fields>
>     <bagdisplayers>
>       <displayer src="heatMap.tile" showOnLeft="true" />
>     </bagdisplayers>
>   </class>
> The bag displayer works fine when it's not commented out, but then the table is gone. Any ideas? I'd like both! And yes, I've
> validated the HTML, it checks out fine, the divs are all closed, etc.

More information about the dev mailing list