1. jameswadsworth
  2. Bug Report
  3. Monday, July 13 2020, 11:25 AM
in the file imagefull.php the following JText strings need to made javascript safe by setting jssafe value true

messages: {
selectimg: \''.JText::_('COM_JSN_IMAGE_ALERT_SELECTIMG'.'\',
uploading: \''.JText::_('COM_JSN_IMAGE_ALERT_UPLOADING').'\',
loading: \''.JText::_('COM_JSN_IMAGE_ALERT_LOADING').'\',
saving: \''.JText::_('COM_JSN_IMAGE_ALERT_SAVING').'\',
}
https://api.joomla.org/cms-3/classes/Joomla.CMS.Language.Text.html

Otherwise if the text string contains an apostrophe it breaks the javascript of the site.
Accepted Answer
admin Accepted Answer
Admin
Hi,
thanks for report it, we will add a patch in the next release :D
  1. more than a month ago
  2. Bug Report
  3. # Permalink


There are no replies made for this post yet.
However, you are not allowed to reply to this post.