Changeset 13530
- Timestamp:
- 11/21/07 12:06:31 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/midcom/midcom.admin.user/documentation/CHANGES
r13511 r13530 9 9 - All items marked with "+" represent completly new features. 10 10 11 2007-11-21 adrenalin 12 - 13 11 14 2007-11-20 adrenalin 12 15 ! Added batch processing for new passwords trunk/midcom/midcom.admin.user/static/jquery.midcom_admin_user.js
r13529 r13530 19 19 $j(this).attr('checked', ''); 20 20 } 21 22 // Trigger the onChange event of the input 23 $j(this).change(); 21 24 }); 22 25 } … … 40 43 $j(this).attr('checked', 'checked'); 41 44 } 45 46 // Trigger the onChange event of the input 47 $j(this).change(); 42 48 }); 43 49 44 50 $j(this).attr('checked', ''); 45 51 } 52 53 $j(document).ready(function() 54 { 55 $j('#midcom_admin_user_batch_process tbody tr').find('td:first').addClass('first'); 56 $j('#midcom_admin_user_batch_process tbody tr').find('td:last').addClass('last'); 57 58 $j("#midcom_admin_user_batch_process tbody input[@type='checkbox']").each(function(i) 59 { 60 $j(this).change(function() 61 { 62 var object = this.parentNode; 63 var n = 0; 64 65 while (!object.tagName.match(/tr/i)) 66 { 67 object = object.parentNode; 68 69 // Protect against infinite loops 70 if (n > 20) 71 { 72 return; 73 } 74 } 75 76 if ($j(this).attr('checked')) 77 { 78 $j(object).addClass('row_selected'); 79 } 80 else 81 { 82 $j(object).removeClass('row_selected'); 83 } 84 }); 85 }); 86 }); trunk/midcom/midcom.admin.user/static/usermgmt.css
r13529 r13530 13 13 { 14 14 border-collapse: collapse; 15 border-spacing: 0; 15 16 } 16 17 … … 54 55 } 55 56 57 table.midcom_admin_user_search_results tr.row_selected td 58 { 59 background-color: #C0CEDE; 60 color: #000000; 61 } 62 63 table.midcom_admin_user_search_results tr.even.row_selected td 64 { 65 background-color: #DFE6EE; 66 } 67 68 table.midcom_admin_user_search_results tr.row_selected td.first 69 { 70 } 71 72 table.midcom_admin_user_search_results tr.row_selected td.last 73 { 74 } 56 75 57 76 form.datamanager2 fieldset label,
