upload link from GPF doesn't preload IPF
Status: Beta
Brought to you by:
worden
In 1.13 when you click 'upload' while looking at a source file in GetProjectFile, you get an ImportProjectFiles form pre-loaded with filename, project name, and destination page. In 1.19+, only the project name is preloaded. Simple enough to fix by adding GET parameters to the link URL.
Anonymous
Also from the Upload button on ManageProject.
Making some progress on this. An auxiliary question is: should the form be intially collapsed in the usual way if the destination filename and page are preloaded. I feel like it shouldn't.
Currently the code collapses that if and only if the upload file selector is empty. So I have to think about what the new decision rule should be.
The thinking about when a row is empty is here.
I think I can safely change
to
It's more trouble to implement because the test till be different from MultiUpload to ImportProjectFiles (different fields), but not too bad.
OK, got the non-collapsing and preloading. I think this is done, pending any bugs surfacing.