rice-middleware/web/src/main/webapp/kr/scripts/objectInfo.js
/**
 * This method is only used for docType.  docType now has the ability to update
 * attributes when onBlur is called on the docType text box.  In order to
 * stop the page from continually reloading we need to have a before and
 * after of the docTypeName.  Because hidden vars that are not listed in the
 * datadictionary are removed we have to use the current method.  This mothod
 * stores the current docTypeFullName on Page load.  the call is in page.tag.
 */
This method is only used for docType.  docType now has the ability to update
attributes when onBlur is called on the docType text box.  In order to
stop the page from continually reloading we need to have a before and
after of the docTypeName.  Because hidden vars that are not listed in the
datadictionary are removed we have to use the current method.  This mothod
stores the current docTypeFullName on Page load.  the call is in page.tag.
This method is only used for docType . docType now has the ability to update attributes when onBlur is called on the docType text box . In order to stop the page from continually reloading we need to have a before and after of the docTypeName . Because hidden vars that are not listed in the datadictionary are removed we have to use the current method . This mothod stores the current docTypeFullName on Page load . the call is in page . tag .
function storeCurrentDocTypeNameOnLoad(){
	var oldDocTypeField;
	var docTypeName = document.getElementById("documentTypeName");
	if (document.createElement) {
		oldDocTypeField = document.createElement("input");
		oldDocTypeField.setAttribute("type", "hidden");
		oldDocTypeField.setAttribute("name", "oldDocTypeFieldName");
		oldDocTypeField.setAttribute("value", docTypeName.value);
		document.forms[0].appendChild(oldDocTypeField);
	}
}
function storeCurrentDocTypeNameOnLoad ( ) { var oldDocTypeField ; var docTypeName = document . getElementById ( "documentTypeName" ) ; if ( document . createElement ) { oldDocTypeField = document . createElement ( "input" ) ; oldDocTypeField . setAttribute ( "type" , "hidden" ) ; oldDocTypeField . setAttribute ( "name" , "oldDocTypeFieldName" ) ; oldDocTypeField . setAttribute ( "value" , docTypeName . value ) ; document . forms [ 0 ] . appendChild ( oldDocTypeField ) ; } }
This method is only used for docType.
This method is only used for docType .