Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

With Joomla 3.10.0 the insert button is not working. #102

Open
DonPedro34 opened this issue Aug 23, 2021 · 1 comment
Open

With Joomla 3.10.0 the insert button is not working. #102

DonPedro34 opened this issue Aug 23, 2021 · 1 comment

Comments

@DonPedro34
Copy link

Since Joomla 3.10.0 remoteimage has at least one issue.

When clicking on select image in the second tab of the content editor, remoteimage opens up.

When selecting an image and clicking Insert nothing happens. No error is shown in the browser console, nothing in the network tab.

Chrome browser.

Otherwise remoteimage is working for uploading and scaling images.

Cheers
Don

@ammannit
Copy link

ammannit commented Oct 15, 2021

``I had the same problem and i changed follow lines in /administrator/components/com_remoteimage/view/manager/tmpl/default.php at the line 243-249:

Old:

<button id="rm-insert-button" class="btn btn-primary" onclick="<?php echo $fieldid ? 'insertFormField();' : 'insertImageToParent();'; ?>">
<?php echo JText::_('COM_REMOTEIMAGE_INSERT_IMAGES'); ?>

</button><button id="rm-cancel-button" class="btn" onclick="window.parent.SqueezeBox.close();">
<?php echo JText::_('JLIB_HTML_BEHAVIOR_CLOSE'); ?>
</button>

to:

<button class="btn btn-success button-save-selected" type="button" onclick="<?php echo $fieldid ? 'insertFormField();' : 'insertImageToParent();'; ?>" data-dismiss="modal"><?php echo JText::_('Einfügen'); ?></button>

<button class="btn button-cancel" type="button" onclick="window.parent.jQuery('.modal.in').modal('hide');" data-dismiss="modal"><?php echo JText::_('Schliessen'); ?></button>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants