Hi Christophe,

In order to apply the changes scripts have to be packed properly. Please follow these steps:

1. Go to the client/ directory and type 'npm install'
2. Now type 'grunt watch'. This will start a listener which captures code changes and repacks scripts automatically
3. Finally, make your changes to the code files in client/galaxy/scripts/mvc/upload and reload your browser

Let me know if that works for you or if you have any other questions.

Thanks,
Sam

On Wed, Nov 12, 2014 at 4:47 AM, Christophe Antoniewski <christophe.antoniewski@snv.jussieu.fr> wrote:
Hi,

As we have arranged an sftp upload system through ftp port for our Galaxy instance, we would need to customize the Upload File tool form, so that a few more line explain how-to-do in the FTP section of the form, in addition to the "This Galaxy server allows you to upload files via FTP. To upload some files, log in to the FTP server at 127.0.0.1 using your Galaxy credentials (email address and password)."

I dug into
/home/galaxy/galaxy-dist/static/scripts/mvc/upload/upload-ftp.js
and 
/home/galaxy/galaxy-dist/static/scripts/packed/mvc/upload/upload-ftp.js

but the changes I tried into these files do not show up in the tool form.

If someone can indicate the right way to intercept this content and enrich it as mentioned above,  I would be grateful !

Cheers

Chris

Christophe Antoniewski

Drosophila Genetics and Epigenetics
Institut de Biologie Paris Seine
9, Quai St Bernard, Boîte courrier 24
75252 Paris Cedex 05

Tel +33 1 44 27 34 39
Fax +33 1 44 27 34 45
Mobile +33 6 68 60 51 50
christophe.antoniewski@upmc.fr

http://drosophile.org



___________________________________________________________
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/