The method ucRGIFormLoad will be called with the IFrame object after a Related Issue Display iframe is loaded and resized, either in the case of the initial rendering, a refresh, or a column re-sort. This method has the following signature:

function ucRGIFormLoad(iframeObject)

This method need not exist in the UserJavaScript.js file. If it does exist, it can be used to perform functions to the administrator’s specification. The parameter iframeObject is used to help know which Related Issue Display is being called. The following example shows how an alert script will show the name of the iframeObject when a Related Issue Display is loaded, sorted, or refreshed:

 

function ucRGIFormLoad(iframeObject) {
    alert('hello from rgi formload: ' + iframeObject.name);
}