commit/galaxy-central: dan: On edit attributes page, make the info field a textarea. Also HTML escape the contents of data_annotation and info textareas.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/changeset/204a48f75840/ changeset: 204a48f75840 user: dan date: 2012-01-18 20:00:38 summary: On edit attributes page, make the info field a textarea. Also HTML escape the contents of data_annotation and info textareas. affected #: 1 file diff -r 1611550a4c638acad44a26c3b960c7194026fc13 -r 204a48f75840bf7da9af73ae90f03d783e12df94 templates/dataset/edit_attributes.mako --- a/templates/dataset/edit_attributes.mako +++ b/templates/dataset/edit_attributes.mako @@ -48,7 +48,7 @@ Info: </label><div style="float: left; width: 250px; margin-right: 10px;"> - <input type="text" name="info" value="${data.info}" size="40"/> + <textarea name="info" cols="40" rows="2">${data.info | h}</textarea></div><div style="clear: both"></div></div> @@ -58,7 +58,7 @@ Annotation / Notes: </label><div style="float: left; width: 250px; margin-right: 10px;"> - <textarea name="annotation" cols="40" rows="2">${data_annotation}</textarea> + <textarea name="annotation" cols="40" rows="2">${data_annotation | h}</textarea></div><div style="clear: both"></div><div class="toolParamHelp">Add an annotation or notes to a dataset; annotations are available when a history is viewed.</div> Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
Bitbucket