This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript" > | |
AJS.toInit(function ($) { | |
var list = AJS.$('table.confluenceTable tbody th:contains("#sum")'); | |
list.each(function(index, item) { | |
var elem = AJS.$(item); | |
var parentRow = elem.parent(); | |
var parentTbody = parentRow.parent(); | |
var column = parentRow.find('th').index(elem); | |
var sum = 0; |