Skip to content

Fix issue cannot select file to upload when add slide#1

Open
ComonSoft wants to merge 1 commit into
Prestaworks:devfrom
ComonSoft:dev
Open

Fix issue cannot select file to upload when add slide#1
ComonSoft wants to merge 1 commit into
Prestaworks:devfrom
ComonSoft:dev

Conversation

@ComonSoft
Copy link
Copy Markdown

Questions Answers
Description? Fix issue, button upload file selector not working in action add new slide. It created a js error, that disable action of upload file button.
Type? bug fix
BC breaks? no
Deprecations? no
Fixed ticket? Fixes PrestaShop/PrestaShop#31980.
How to test? The issue is reproductible in PS version 1.7.6.4 to < 1.7.0. Goto ps_imageslider configuration, add new slide, click on upload button to select a file, no window is opened and thre is a js error: Uncaught Sortable: el must be an HTMLElement, not [object Undefined] in file Sortable.min.js:2:14322

Fix the issue where sortable is loaded when not needed in action add new slide. It created a js error, that disable action of upload file button.
Fixed ticket: PrestaShop/PrestaShop#31980
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

Successfully merging this pull request may close these issues.

javascript error prevents upload of images

3 participants