CMS MADE SIMPLE FORGE

Company Directory

 

[#10402] Hidden inputs for image/logo upload in admin broken

avatar
Created By: Stephan (10010110)
Date Submitted: Wed Feb 04 06:43:22 -0500 2015

Assigned To: Robert Campbell (calguy1000)
Version: 1.22.7
CMSMS Version: 1.11.12
Severity: None
Resolution: None
State: Open
Summary:
Hidden inputs for image/logo upload in admin broken
Detailed Description:
The hidden input fields that goes along with the current value indication of the
image and logo upload fields are closing the value attribute too early, leaving
the actual value outside of the quotes and invalidating the HTML.

The current output HTML looks like this:

>>>>>

<input type="file" name="m1_imageupload"/><br />
Current value: filename.jpg<input type="hidden" name="m1_imagecurrent" value=""
filename.jpg />
 -- Delete:<input type="checkbox" name="m1_deleteimage" value="checked" />

<<<<<

See the hidden input’s “value” attribute with the file name next to it? That
should be inside the quotes.


History