# HG changeset patch # User Sylvain Thénault # Date 1263464002 -3600 # Node ID 6109962761f266973eaf52e55558c57ba6324849 # Parent bce7a7a95f2b2eaf9cb4771ec3a474eb887b2d05 fix global errors display when there is more than one error diff -r bce7a7a95f2b -r 6109962761f2 web/data/cubicweb.edition.js --- a/web/data/cubicweb.edition.js Thu Jan 14 11:12:52 2010 +0100 +++ b/web/data/cubicweb.edition.js Thu Jan 14 11:13:22 2010 +0100 @@ -352,7 +352,7 @@ if (globalerrors.length == 1) { var innernode = SPAN(null, globalerrors[0]); } else { - var innernode = UL(null, map(LI, globalerrors)); + var innernode = UL(null, map(partial(LI, null), globalerrors)); } // insert DIV and innernode before the form var div = DIV({'class' : "errorMessage", 'id': formid + 'ErrorMessage'});