Hi galaxy-dev, I have a tool that generates a HTML output file which uses some javascript library. I cannot view the output file with the eye button in Galaxy, but it still works fine from the HTML file opened out of the file directory. I changed the sanitize_all_html = False and restarted the galaxy server as some earlier post suggested but still couldn't view the output file. What else can I do to execute Javascript in the Galaxy browser? Thanks, Gift
On 07/23/2013 05:14 PM, Sinthong, Phanwadee wrote:
Hi galaxy-dev,
I have a tool that generates a HTML output file which uses some javascript library. I cannot view the output file with the eye button in Galaxy, but it still works fine from the HTML file opened out of the file directory. I changed the sanitize_all_html = False and restarted the galaxy server as some earlier post suggested but still couldn't view the output file. What else can I do to execute Javascript in the Galaxy browser?
Which library are you trying to use? You may have to define your own datatype and add something like the following to the file "datatypes_conf.xml"afterwards: <datatype extension="html" type="galaxay.datatypes.xml:Html" mimetype="application/html">
I'm using JQuery with files *.js extension. I tried adding the data type as you suggested but it still doesn't seem to fix the problem. ________________________________________ From: galaxy-dev-bounces@lists.bx.psu.edu [galaxy-dev-bounces@lists.bx.psu.edu] on behalf of Gromobir [gromobir@arcor.de] Sent: Tuesday, July 23, 2013 11:32 AM To: galaxy-dev@lists.bx.psu.edu Subject: Re: [galaxy-dev] HTML output with external Javascript On 07/23/2013 05:14 PM, Sinthong, Phanwadee wrote:
Hi galaxy-dev,
I have a tool that generates a HTML output file which uses some javascript library. I cannot view the output file with the eye button in Galaxy, but it still works fine from the HTML file opened out of the file directory. I changed the sanitize_all_html = False and restarted the galaxy server as some earlier post suggested but still couldn't view the output file. What else can I do to execute Javascript in the Galaxy browser?
Which library are you trying to use? You may have to define your own datatype and add something like the following to the file "datatypes_conf.xml"afterwards: <datatype extension="html" type="galaxay.datatypes.xml:Html" mimetype="application/html"> ___________________________________________________________ Please keep all replies on the list by using "reply all" in your mail client. To manage your subscriptions to this and other Galaxy lists, please use the interface at: http://lists.bx.psu.edu/ To search Galaxy mailing lists use the unified search at: http://galaxyproject.org/search/mailinglists/
participants (2)
-
Gromobir
-
Sinthong, Phanwadee