CMS MADE SIMPLE FORGE

LISE

 

[#11879] Problem with FilePicker Fields (only the first has a select button)

avatar
Created By: Mich-adg (Mich)
Date Submitted: Thu Aug 30 11:31:02 -0400 2018

Assigned To: Fernando Morgado (JoMorg)
Version: 1.3.1
CMSMS Version: 2.2.8
Severity: Major
Resolution: None
State: Open
Summary:
Problem with FilePicker Fields (only the first has a select button)
Detailed Description:
Hi,
i have 3 filepicker fields (FilePicker 1.0.3 ), but only the first show the
button to choose a file.
(the problem seems to be recent, i tested under IE & Firefox). Don't know if the
problem comes from Lise or FilePicker.

I can see this error in the console:

TypeError: this._settings.clear is undefined[En savoir plus]
jquery.cmsms_filepicker.js:25:3

_about_clear
(site domain)/lib/jquery/js/jquery.cmsms_filepicker.js:25:3
t.widget/</l[i]</<
(site domain)/lib/jquery/js/jquery-ui-1.10.4.custom.min.js:6:5027
render
(site domain)/lib/jquery/js/jquery.cmsms_filepicker.js:163:6
t.widget/</l[i]</<
(site domain)/lib/jquery/js/jquery-ui-1.10.4.custom.min.js:6:5027
_create
(site domain)/lib/jquery/js/jquery.cmsms_filepicker.js:106:3
t.widget/</l[i]</<
(site domain)/lib/jquery/js/jquery-ui-1.10.4.custom.min.js:6:5027
_createWidget
(site domain)/lib/jquery/js/jquery-ui-1.10.4.custom.min.js:6:7031
t.widget/t[c][i]
(site domain)/lib/jquery/js/jquery-ui-1.10.4.custom.min.js:6:4587
t.widget.bridge/t.fn[i]/<
(site domain)/lib/jquery/js/jquery-ui-1.10.4.custom.min.js:6:6309
each
(site domain)/lib/jquery/js/jquery-1.11.1.min.js:2:2971
each
(site domain)/lib/jquery/js/jquery-1.11.1.min.js:2:833
t.widget.bridge/t.fn[i]
(site domain)/lib/jquery/js/jquery-ui-1.10.4.custom.min.js:6:6227
<anonyme>
(site domain)/admin/moduleinterface.php:228:4
j
(site domain)/lib/jquery/js/jquery-1.11.1.min.js:2:27239
fireWith
(site domain)/lib/jquery/js/jquery-1.11.1.min.js:2:28057
ready
(site domain)/lib/jquery/js/jquery-1.11.1.min.js:2:29889
J
(site domain)/lib/jquery/js/jquery-1.11.1.min.js:2:30255


History

Comments
avatar
Date: 2018-10-05 08:46
Posted By: Mich-adg (Mich)

Hi,
i looked again an my 1st image field was a 'required' field and it caused the JS
bug !
Desactivating the 'required' option resolve the bug... !
      
avatar
Date: 2019-03-14 04:47
Posted By: Tomas Amsrud (tamsrud)

I experience the same problem. If a FilePicker field is set to "Required" I get
the same JS error as described above.

PHP 7.2, CMSMS 2.2.10, LISE 1.3.1
      
Updates

Updated: 2018-10-05 08:46
resolution_id: => 5