Changeset 1942

Show
Ignore:
Timestamp:
10/30/08 17:24:43
Author:
johnsa
Message:

small improvement on toggleAllowDenyFlag function

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/deployment/webadmin/webapp/resources/resources/bedeworkAccess.js

    r1318 r1942  
    157157// clicked 
    158158function toggleAllowDenyFlag(chkBoxObj,formObj) { 
    159   if (chkBoxObj.checked == true) { 
    160     activateAllowDenyFlag(chkBoxObj.value, formObj, false); 
    161   } else { 
    162     activateAllowDenyFlag(chkBoxObj.value, formObj, true); 
    163   } 
     159  activateAllowDenyFlag(chkBoxObj.value, formObj, !chkBoxObj.checked); 
    164160} 
    165161// iterate over the allow/deny radio buttons and set them to true or false