Calling setDirty to Set the Changed Data Indicator

The setDirty function is the event handler for the onChange, onKeypress, and onClick events of elements in the Activity.htm, ActivityType.htm, Group.htm, Location.htm, and Person.htm files (see PT Admin Application Localized HTML Files (en_us)). The following code fragments show how these events are associated with the setDirty function. This code is from the Group.htm file, but all the *.htm files contain similar HTML code.

The following code fragment shows the setDirty function in the IsDirty.js file:

function setDirty() {
   isDirty = true;
}