My upload button wouldn't work since some time ago. I've just found that the div around the file input field has the same id as the input field itself. Because of this the javascript in imce.js (line 428) that get's the value of this field with selecting the field on only a id didn't work (it gets the first element, thus the div).

Can this be fixed?

#1 imce-upload-input-1978332-2.patch442 bytesfabianderijk


fabianderijk’s picture

Here the patch that fixes the issue.

fabianderijk’s picture

Status: Active » Needs review
ufku’s picture

Status: Needs review » Closed (cannot reproduce)

The wrapper's id should be edit-imce-wrapper. You should find the real source of the issue.