ua-eas/ksd-kc5.2.1-ua — pull request #46 by sskinner (2014-10-14 22:16:08+00:00)
Title: UAR-756: Protocol Attachments tab "Sort By" not working

I modified protocolAttachmentProtocol.tag to include another variable, activeDisplayIndex, to be used as the unique id suffix for active protocolAttachments.

I increment this new variable when the tag creates a new table row, and then append it as the unique suffix of the element id.

I then replaced several of the legacy protocolAttachment.iterator.index references in the tag to be this new activeDisplayIndex.

This guarantees that the element id sequence remains uninterrupted, that the javascript finds the elements it is searches for, and the functions behave as desired.