On 02/25/2011 04:20 PM, Nate Coraor wrote:

> Hi Jean-Baptiste,
> 
> This is certainly a concern.  It's not possible to do this without some
> hackery, but it's minor hackery.  If you're certain you'll never want to
> have that box unchecked, you can make the following change to
> templates/library/common/common.py:

> - link_data_only_field = '<input type="checkbox" name="link_data_only" 
> value="No"%s/>No' % checked
> + link_data_only_field = '<input type="checkbox" name="link_data_only" 
> value="No" checked disabled/>No'

> Alternatively, you could add 'checked' but not 'disabled' to make it the
> default but still modifiable.
> 
> --nate

Thank your for this very precise answer. I'd rather not change the
source by myself, but i'll keep this tip in mind if i need to prevent
file upload.

jbd

_______________________________________________
To manage your subscriptions to this and other Galaxy lists, please use the 
interface at:

  http://lists.bx.psu.edu/

Reply via email to