Upload editing window does not close
Upload editing window does not close
jpavan
Posts: 38Questions: 12Answers: 0
I installed the upload example and it works, but there are 2 problems:
1. when I upload a photo the editing window does not close
2. If I manually close the page, it does not allow editing until I refresh it
This discussion has been closed.
Answers
When I upload an image it is shown correctly. Then when I click "Update" a Javascript error is shown in the browser's console:
I think (I'm not 100% certain) that the issue is that the server is only returning the file information for the file that was uploaded, rather than all of the files.
Was this page created with Generator? If so, you could download the package again? I found an error in Generator's packaging last week that might cause this.
Allan
Hi Allan, thanks for your answer.
No, it was copied from your "File upload" example.
How can I check where web_path is set?
Regards,
jorge.
It is set. What is odd is that only the file that was uploaded is returned.
I just loaded the page to take another look but now get:
Allan
Ups, I did a test and forget to restore the situation. Now it works as before.
Regards,
jorge.