Revision 76 hci/trunk/eneraptor-web-app/grails-app/views/sysLog/liveGraph.gsp

View differences:

liveGraph.gsp
1 1
{
2
    data: ${data}
2
    data: ${data},
3
    actionLog: [
4
    <g:each in="${actionLog}" var="al">
5
    	<g:if test="${al == actionLog[-1]}">
6
    		[${al[0]},"${al[1]}"]
7
    	</g:if>
8
    	<g:else>
9
    		[${al[0]},"${al[1]}"],
10
    	</g:else>
11
    </g:each>
12
    ]
3 13
}

Also available in: Unified diff