Search Mailing List Archives


Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[bioontology-support] Bug in Form Autocomplete Widget Display

Mcgibbney, Lewis J (398M) Lewis.J.Mcgibbney at jpl.nasa.gov
Mon Oct 5 22:17:18 PDT 2015


Hi Jennifer,
I can confirm that the 4 character fix sorted this out :)
Thank you so much.
Lewis

Dr. Lewis John McGibbney Ph.D., B.Sc., MAGU
Scientific Applications Software Engineer Level 2
Computer Science for Data Intensive Applications Group 398M
Jet Propulsion Laboratory
California Institute of Technology
4800 Oak Grove Drive
Pasadena, California 91109-8099
Mail Stop : 158-256C
Tel:  (+1) (818)-393-7402
Cell: (+1) (626)-487-3476
Fax:  (+1) (818)-393-1190
Email: lewis.j.mcgibbney at jpl.nasa.gov

           [cid:958B264C-0A67-4AA6-B6F3-C731E090847D]

 Dare Mighty Things

From: Jennifer Leigh Vendetti <vendetti at stanford.edu<mailto:vendetti at stanford.edu>>
Date: Monday, October 5, 2015 at 2:47 PM
To: Lewis John McGibbney <lewis.j.mcgibbney at jpl.nasa.gov<mailto:lewis.j.mcgibbney at jpl.nasa.gov>>
Cc: "support at bioontology.org<mailto:support at bioontology.org>" <support at bioontology.org<mailto:support at bioontology.org>>
Subject: Re: [bioontology-support] Bug in Form Autocomplete Widget Display

Hello Lewis,

I’ve published a new version of the JavaScript file [1] that I believe fixes this issue.  Could you please try it out and let me know if it’s working OK for you?

Thanks,
Jennifer

[1] http://bioportal.bioontology.org/javascripts/widgets/form_complete.js


On Sep 22, 2015, at 9:55 AM, Mcgibbney, Lewis J (398M) <Lewis.J.Mcgibbney at jpl.nasa.gov<mailto:Lewis.J.Mcgibbney at jpl.nasa.gov>> wrote:

Good Morning support@,
I’ve been using the Autocomplete widget [0] taken from the form_complete.js [1] code.
When searching across ‘bp_form_complete-all-name’ BioPortal ontologies, I notice a bug when the autocomplete widget provides autocomplete results.
The bug appears to display a mixture of HTML markup mixed into the ’name’ entity.
I’ve attached a screenshot of this for your to see what I mean.
Please also see the HTML below which shows how I am using the widget

thefacetview += '<input type="text" class="facetview_freetext bp_form_complete-all-name span4" style="display:inline-block; margin:0 0 21px 0; background:'+ options.searchbox_shade + ';" name="q" \
value="" placeholder="search term" data-bp_include_definitions="true" data-bp_objecttypes="class,property,individual" />';
if ( options.sharesave_link ) {
thefacetview += '<a class="btn facetview_sharesave" title="share or save this search" style="margin:0 0 21px 5px;" href=""><i class="icon-share-alt"></i></a>';
thefacetview += '<div class="facetview_sharesavebox alert alert-info" style="display:none;"> \
<button type="button" class="facetview_sharesave close">×</button> \
<input type="hidden" id="q_bioportal_preferred_name"> \
<input type="hidden" id="q_bioportal_concept_id"> \
<input type="hidden" id="q_bioportal_ontology_id"> \
<input type="hidden" id="q_bioportal_full_id"> \
<p>Share or save this search:</p> \
<textarea class="facetview_sharesaveurl" style="width:100%;height:100px;">http://'+ window.location.host+
window.location.pathname+ '?source='+ options.querystring + '</textarea> \
</div>';
}

Any ideas if this is incorrect usage of the widget on my side or if it is a bug server side?
Thanks in advance.
Lewis

[0] http://www.bioontology.org/wiki/index.php/NCBO_Widgets#Term-selection_field_on_a_form
[1] http://bioportal.bioontology.org/javascripts/widgets/form_complete.js

Dr. Lewis John McGibbney Ph.D., B.Sc., MAGU
Engineering Applications Software Engineer Level 2
Computer Science for Data Intensive Systems Group 398M
Jet Propulsion Laboratory
California Institute of Technology
4800 Oak Grove Drive
Pasadena, California 91109-8099
Mail Stop : 158-256C
Tel:  (+1) (818)-393-7402
Cell: (+1) (626)-487-3476
Fax:  (+1) (818)-393-1190
Email: lewis.j.mcgibbney at jpl.nasa.gov<mailto:lewis.j.mcgibbney at jpl.nasa.gov>

           <2CB3CA5F-DC06-45EF-ADDA-C49A41A8C401[1].png>

 Dare Mighty Things
<form_complete_bug.png>_______________________________________________
bioontology-support mailing list
bioontology-support at lists.stanford.edu<mailto:bioontology-support at lists.stanford.edu>
https://mailman.stanford.edu/mailman/listinfo/bioontology-support

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.stanford.edu/pipermail/bioontology-support/attachments/20151006/4d50e7a1/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2CB3CA5F-DC06-45EF-ADDA-C49A41A8C401[1].png
Type: image/png
Size: 3425 bytes
Desc: 2CB3CA5F-DC06-45EF-ADDA-C49A41A8C401[1].png
URL: <http://mailman.stanford.edu/pipermail/bioontology-support/attachments/20151006/4d50e7a1/attachment.png>


More information about the bioontology-support mailing list