modules/raptor_glue/js/formHelper.js
/**
 * Call this when no longer using default values in a section
 */
Call this when no longer using default values in a section
Call this when no longer using default values in a section
function notDefaultValuesInSection(sectionname, oGrp)
{
    if(oGrp === undefined)
    {
        var grpmatch = "div[id^='edit-default-values-grp-"+sectionname+"']";
        var sID = $(grpmatch).attr('id');
        var oGrp=document.getElementById(sID);
        if (oGrp) {
            oGrp.style.display = 'none';
        }
    }
    var sName = 'require_acknowledgement_for_' + sectionname;
    var oTB=document.getElementsByName(sName);
    oTB[0].value = 'no';
}
function notDefaultValuesInSection ( sectionname , oGrp ) { if ( oGrp === undefined ) { var grpmatch = "div[id^='edit-default-values-grp-" + sectionname + "']" ; var sID = $ ( grpmatch ) . attr ( 'id' ) ; var oGrp = document . getElementById ( sID ) ; if ( oGrp ) { oGrp . style . display = 'none' ; } } var sName = 'require_acknowledgement_for_' + sectionname ; var oTB = document . getElementsByName ( sName ) ; oTB [ 0 ] . value = 'no' ; }
Call this when no longer using default values in a section
Call this when no longer using default values in a section