Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
When I click on a Manualcrop thumbnail to edit crop area in the overlay, I always get error message
Uncaught TypeError: Cannot read property 'width' of null when opening crop UI
in 266 line of manualcrop.js.
The reason is that ManualCrop.oldSelection is not defined in that line, when maximizeDefaultCropArea
option is ON
.
See the patch.
Comment | File | Size | Author |
---|---|---|---|
#1 | manualcrop-1941024-1.patch | 1.52 KB | OnkelTem |
undefined-oldSelection.patch | 1.13 KB | OnkelTem |
Comments
Comment #1
OnkelTem CreditAttribution: OnkelTem commentedHeh.. I was gonna save time by not creating a local branch for such a minor change, but after all I decided to do everything uniformly.
Comment #2
MatthijsThanks for the patch, it has been committed!
Matthijs