On Jun 4, 2015 12:04 AM, "Deepak Sharma" <deeky.sha...@gmail.com> wrote: > > According to my second milestone I need to add loader indicator when > .g file has to be uploaded. I am bit confused as I had to go deep into > the code. As far as I can understand waitOn function is used for > loading purpose. Also I have tried using Meteor-nprogess just for the > testing purpose, the result was on clicking the upload button, the > progress bar worked but was not synchronized with the backend. Guide > me to proceed further. Please help me to follow the right path and > tell if I am going wrong somewhere.
The reason that your progress bar isn't synchronized could be that at backend conversion takes place instantly after upload, which also takes time. There's a percentage attribute in the model object as far as I can remember but it has not been exposed to front end. I will have to look into code. Will get back to you. You must also search collectionfs issues regarding this on github. Probably someone had already solved this issue.
------------------------------------------------------------------------------
_______________________________________________ BRL-CAD Developer mailing list brlcad-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-devel