Hi,
I found that in order to change static/scripts/mvc/data.js, I had to delete
static/scripts/packed/mvc/data.js.
After doing so, I have added the following patch in order to add links
inside tabular view.
else if (column_types[index] === 'str' || column_types === 'list') {
/* Left a
Hi,
I want to do this using a function which converts each URL into an html
link ( after the .text() was called).
(For example to use: https://github.com/maranomynet/linkify).
But now the galaxy code is a bit different and I can't find where should I
change the code.
I have found the _renderCell f
Right.
I will convert it to text, allowing only simple links ( with href only)
to be shown.
Thanks,
Hagai
On Wed, Jan 30, 2013 at 8:03 PM, James Taylor wrote:
> You may want to be careful with this solution because it allows script
> injection, any HTML including javascript in the uploaded tabu
You may want to be careful with this solution because it allows script
injection, any HTML including javascript in the uploaded tabular file
will be executed by the .html call, with complete access to everything
in the Galaxy browser window (like your session cookies).
--
James Taylor, Assistant P
Hi,
I found a simple solution.
In the file:
templates/dataset/tabular_chunked.mako
inside the method: renderCell - replace all jQuery .text(..) calls with
.html(..) calls.
Note:
Any entry in the csv with html syntax will be shown like html (links, tags.
etc).
On Tue, Jan 29, 2013 at 1:39 PM,