widgetfactory / jce

JCE - A Content Editor for Joomla
https://www.joomlacontenteditor.net
GNU General Public License v2.0
35 stars 12 forks source link

JCE Media Field multiple erros when in subform #130

Closed JackJoeJack closed 1 week ago

JackJoeJack commented 1 week ago

Describe the bug I have two cases of JCE Media fields that are present in subforms where I can see the following errors:

  1. When I click the "select" button, and select the file, and then press the "insert", it does nothing (not to mention that the modal also has Joomla's buttons at the bottom right)
  2. Another case where I already had content (probably due to a time when it worked in a previous JCE version), the modal is ok, but the insert does nothing).

To Reproduce Steps to reproduce the behavior:

  1. create a custom field of type JCE Media
  2. create a sub-form and add that field
  3. go to an article that has that sub-form, and add a row
  4. try to add content

Expected behavior It is supposed to place the selected file name/path into the input

Screenshots

Desktop (please complete the following information):

Additional context

Errors

ryandemmer commented 1 week ago

Fixed in commit - https://github.com/widgetfactory/jce/commit/33b42849ce989b5f0527ebb887f40938a79133a9

Thank you.

JackJoeJack commented 1 week ago

Thank you. I can confirm that this fixed both issues.