?
avatar dziudek
dziudek
18 Mar 2016

Steps to reproduce the issue

I am using in my module the following code to show media selection:

$form_image .= '<a class="btn gk-modal modal-media" title="'.JText::_('JSELECT').'" href="index.php?option=com_media&amp;view=images&amp;tmpl=component&amp;asset=com_modules&amp;author=&amp;fieldid=jform_params_img&amp;folder=" rel="{handler: \'iframe\', size: {x: 800, y: 500}}">'.JText::_('JSELECT').'</a>';

Expected result

In Joomla! 3.4.8 the mentioned code displayed the media selection popup and after selecting image and clicking the "Insert" button, text field connected with the popup has been filled.

Actual result

Currently the popup is not working - it appears, but clicking the "Insert" button not work. After removing override: html/com_media/images/default.php it works again, so the override is somewhat wrong.

System information (as much as possible)

Not neccessary - it is a JS code issue.

Additional comments

It will affect all extensions which uses this kind of call for the media popup.

Unfortunately original view causes issues in example with other media selectors like logo selector in the protostar template settings - the error with undefined jInsertFieldValue call is raised.

avatar dziudek dziudek - open - 18 Mar 2016
avatar brianteeman
brianteeman - comment - 18 Mar 2016

Closing as a duplicate of #9466


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/9472.

avatar brianteeman brianteeman - close - 18 Mar 2016
avatar brianteeman brianteeman - change - 18 Mar 2016
Status New Duplicate Report
Closed_Date 0000-00-00 00:00:00 2016-03-18 18:26:18
Closed_By brianteeman
avatar brianteeman brianteeman - close - 18 Mar 2016
avatar brianteeman brianteeman - change - 22 Apr 2016
Labels Added: ?

Add a Comment

Login with GitHub to post a comment