anchor.diff:  			   without that selector, the .dialog() call for the popup was calling this twice */
   			$j("#formEntryTableParent${model.id} > #formEntryTable${model.id}").dataTable({
   				"bPaginate": false,
  -				"bSort": false,
  -				"bAutoWidth": false
  +				"bAutoWidth": false,
  +				"aaSorting": [[0, 'asc']],
  +				"aoColumns":
  +					[
  +						{ "iDataSort": 1 },
  +						{ "bVisible": false, "sType": "numeric" },
  +						null,
  +						{ "sClass": "EncounterTypeClass" }
  +					]
   			});
   		});
   		function startDownloading() {
  
positive.code: 		}
  	</script>
  	<div id="formEntryTableParent${model.id}">
  	<table id="formEntryTable${model.id}">
  		<thead>
  			<tr>
  				<th><spring:message code="general.name"/></th>
  				<th><spring:message code="Form.version"/></th>
  			</tr>
  		</thead>
  		<tbody>
  			<c:forEach var="entry" items="${model.formToEntryUrlMap}">
  				<openmrs:hasPrivilege privilege="${entry.value.requiredPrivilege}">
  					<c:url var="formUrl" value="${entry.value.formEntryUrl}">
  						<c:param name="personId" value="${model.personId}"/>
  
negative.code: 							<a href="${formUrl}" onclick="startDownloading();">${entry.key.name}</a>
  						</td>
  						<td>
  							${rowCounter.count}
  						</td>
  						<td>
  							${entry.key.version}
  							<c:if test="${!entry.key.published}"><i>(<spring:message code="Form.unpublished"/>)</i></c:if>
  						</td>
  						<td>
  							${entry.key.encounterType.name}
  						</td>
  					</tr>
  				</openmrs:hasPrivilege>
  