Welcome, Guest
Username: Password: Remember me

TOPIC: File Upload in Modal Popup do not work

Images Manager in Modal Popup do not work 25 Oct 2016 11:49 #14653

  • liubov
  • liubov's Avatar
  • Offline
  • Elite Member
  • (=) 10 mn and it's ready!
  • Posts: 278
  • Thank you received: 35
  • Karma: 22
Hi Jocelyn,

I catched a new issue when playing with an Edit Popup Modal. In the Popup, changing an image failed.
This issue concerned only the Save and Close action. (File upload problem i think).
It works fine with the Save action.

You can test this with my component, Admin / Gestion des chiens.
  • Click on a dog thumbs to Edit the Modal Popup
  • Try to change the image, and Save and Close

Marc
Last Edit: 25 Oct 2016 14:48 by liubov.
The administrator has disabled public write access.

Images Manager in Modal Popup do not work 26 Oct 2016 09:09 #14660

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 984
  • Karma: 140
When you save an item from a popup, the form request is done in ajax. (For "Save & Close", because it must handle the result and then, close the page)

For files, I still encounter a problem because the ajax request do not handle properly the file upload.
It has been working once, but now again I face this problem.

This is an opened ticket, I will try to fix that, but it is a long work because I need to rewrite a part of the ajax engine.
Coding is now a piece of cake
The administrator has disabled public write access.

Images Manager in Modal Popup do not work 26 Oct 2016 09:41 #14661

  • liubov
  • liubov's Avatar
  • Offline
  • Elite Member
  • (=) 10 mn and it's ready!
  • Posts: 278
  • Thank you received: 35
  • Karma: 22
Ok, thank you for this answer.
It's not a problem for the moment (I was just using Modal Box to quickly save the main properties of a Dog)

good luck for this Fix.

Marc
The administrator has disabled public write access.
Time to create page: 0.091 seconds

Get Started