Looking for a pointer

22 views
Skip to first unread message

Matt Lind

unread,
Aug 15, 2014, 12:27:27 PM8/15/14
to django...@googlegroups.com
I am using this project here:

https://github.com/Alem/django-jfu

Everything is installed and working properly.

The project includes a progress bar logic that I'd like to re-use elsewhere on my site.

The progress bar filling appears to happen when the "Start Upload" buttons are clicked.

However I can't seem to find the logic as to where or why that bit of code kicks off.

Can anyone out here enlighten me as to where the "on-click" type action is taking place?

Thanks

Collin Anderson

unread,
Aug 15, 2014, 12:34:43 PM8/15/14
to django...@googlegroups.com
It's happening somewhere in the javascript. https://github.com/Alem/django-jfu/tree/master/jfu/static/js

Matt Lind

unread,
Aug 15, 2014, 12:48:43 PM8/15/14
to django...@googlegroups.com

What I am wondering is how the Button type "Submit" is calling that JS some where.

I don't see any specific script/method calls on the upload_form.html page, which specifically is where the bar "shows up".

Thanks

Matt Lind

unread,
Aug 15, 2014, 12:56:39 PM8/15/14
to django...@googlegroups.com
I think I found it.

It appears that the form has a name called "fileupload" and submits back to the orginal page.  From there the JS fires off.

I guess I'll have to see how to modify this.

Any other pointers would be appreciated!


On Friday, August 15, 2014 8:34:43 AM UTC-4, Collin Anderson wrote:

Collin Anderson

unread,
Aug 15, 2014, 12:57:44 PM8/15/14
to django...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages