J4 Issue ?
avatar PhilETaylor
PhilETaylor
23 Oct 2018

Steps to reproduce the issue

This is NOT a duplicate ! this issue is about not being to use the same modal twice without a hard page reload

Create a new article in Joomla 4 admin
on the "images and links" tab click select next to the intro image
Select an image, click the ... to get to the crop menu item - click it - draw new crop area and click select
scroll down to Full Article Image and click select

Expected result

No JS error on second modal load of crop page

Actual result

Js error on second modal load of crop page

screenshot 2018-10-23 at 23 00 42

Uncaught TypeError: Cannot read property 'getCroppedCanvas' of undefined
    at HTMLImageElement.crop (VM6426 crop.min.js:1)
    at _ (VM6427 cropper.min.js:10)
    at VM6427 cropper.min.js:10
avatar PhilETaylor PhilETaylor - open - 23 Oct 2018
avatar joomla-cms-bot joomla-cms-bot - change - 23 Oct 2018
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 23 Oct 2018
avatar PhilETaylor PhilETaylor - change - 23 Oct 2018
The description was changed
avatar PhilETaylor PhilETaylor - edited - 23 Oct 2018
avatar PhilETaylor PhilETaylor - change - 23 Oct 2018
The description was changed
avatar PhilETaylor PhilETaylor - edited - 23 Oct 2018
avatar PhilETaylor PhilETaylor - change - 23 Oct 2018
The description was changed
avatar PhilETaylor PhilETaylor - edited - 23 Oct 2018
avatar brianteeman brianteeman - change - 30 Oct 2018
Labels Added: J4 Issue
avatar brianteeman brianteeman - labeled - 30 Oct 2018
avatar PhilETaylor PhilETaylor - change - 10 Feb 2019
Status New Closed
Closed_Date 0000-00-00 00:00:00 2019-02-10 21:32:51
Closed_By PhilETaylor
avatar PhilETaylor PhilETaylor - close - 10 Feb 2019

Add a Comment

Login with GitHub to post a comment