source: trunk/prototype/app/templates/list.ejs @ 5136

Revision 5136, 430 bytes checked in by wmerlotto, 12 years ago (diff)

Ticket #2305 - Enviando alteracoes, desenvolvidas internamente na Prognus, do modulo prototype.

Line 
1<ul id="<%= id %>"><%
2
3  for(var i=0; i<list.length; i++)
4  {
5      if( typeof filter !== "undefined" )
6          list[i] = filter( list[i] );
7
8      if( !list[i] )
9            continue;
10
11      %><li id="<%= list[i].id %>" class="<%= list[i].class %>" title="<%= list[i].title%>"><%= list[i].content %>
12      <%
13
14      if (list[i].children && list[i].children.length>0)
15              mount_list(array_trees[i].children);
16
17      %></li><%
18  }
19
20%></ul>'
Note: See TracBrowser for help on using the repository browser.