grails-uploadr icon indicating copy to clipboard operation
grails-uploadr copied to clipboard

Name attribute on div

Open thoughtassassin opened this issue 9 years ago • 0 comments

On line 115 of UploadrTabLib.groovy:

out << "<div name=\"${name}\" class=\"${classname}\"></div>"

This ends up rendering a name attribute on a div which fails validation on HTML Tidy:

line 124 column 85 - Error: Attribute “name” not allowed on element “div” at this point.

If the concern is that more than one uploadr needs to exist on a page maybe this could be changed to a data-attribute?

thoughtassassin avatar Feb 16 '16 19:02 thoughtassassin