Changeset 6971 for branches/2.4/expressoAdmin1_2/js/modal/modal.js
- Timestamp:
- 08/09/12 10:17:01 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.4/expressoAdmin1_2/js/modal/modal.js
r5133 r6971 102 102 objOverlay.style.display = 'block'; 103 103 objLightbox.style.display = ''; 104 105 //SETA REGRAS DOS CHECKBOX's 106 107 var checkboxes = $(objLightbox).find("input:checkbox"); 108 checkboxes.filter(".shared-required").change(function(e){ 109 if(!$("#ea_select_owners option:selected").length){ 110 return; 111 } 112 var check = $(this).attr("checked") == undefined ? false : true; 113 if(check){ 114 checkboxes.removeAttr("disabled"); 115 }else{ 116 checkboxes.not(".shared-required").attr("disabled", "disabled"); 117 checkboxes.removeAttr("checked"); 118 } 119 }); 120 121 104 122 } 105 123
Note: See TracChangeset
for help on using the changeset viewer.