Letractively / cfwheels

Automatically exported from code.google.com/p/cfwheels
0 stars 0 forks source link

Enhancement for errorMessagesFor function #135

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In order to stop the creating of empty <ul class="error-messages"></ul> tags, I 
propose the 
modification of a single line of the errorMessagesFor function to include this

<cfif !ArrayIsEmpty(loc.errors)>

instead of 

<cfif isArray(loc.errors)>

Original issue reported on code.google.com by rierar...@gmail.com on 9 Feb 2009 at 12:51

Attachments:

GoogleCodeExporter commented 9 years ago
Good idea, done in r1799.

Original comment by per.djurner@gmail.com on 9 Feb 2009 at 5:10