modules/raptor_glue/js/formHelper.js
/**
 * Call this to reset and disable the custom controls.
 */
Call this to reset and disable the custom controls.
Call this to reset and disable the custom controls .
function resetComboInputByName(rootname, bDisable)
{
    setAsPickFromListByName(rootname);
    var sName = rootname + 'id';
    var oListBox=document.getElementsByName(sName);
    var sName = rootname + 'makecustombtn';
    var oTB=document.getElementsByName(sName);
    oListBox[0].disabled = bDisable;
    oTB[0].disabled = bDisable;
}
function resetComboInputByName ( rootname , bDisable ) { setAsPickFromListByName ( rootname ) ; var sName = rootname + 'id' ; var oListBox = document . getElementsByName ( sName ) ; var sName = rootname + 'makecustombtn' ; var oTB = document . getElementsByName ( sName ) ; oListBox [ 0 ] . disabled = bDisable ; oTB [ 0 ] . disabled = bDisable ; }
Call this to reset and disable the custom controls.
Call this to reset and disable the custom controls .