Changeset 9143
- Timestamp:
- 11/14/2014 03:16:38 PM (10 years ago)
- Location:
- trunk/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-notifications/bp-notifications-template.php
r9132 r9143 1058 1058 function bp_notifications_bulk_management_dropdown() { 1059 1059 ?> 1060 <label class="bp-screen-reader-text" for="notification-select"><?php _e( 'Select Bulk Action', 'buddypress' ); ?></label> 1060 1061 <select name="notification_bulk_action" id="notification-select"> 1061 1062 <option value="" selected="selected"><?php _e( 'Bulk Actions', 'buddypress' ); ?></option> -
trunk/src/bp-templates/bp-legacy/buddypress/members/single/notifications/notifications-loop.php
r9132 r9143 4 4 <tr> 5 5 <th class="icon"></th> 6 <th><label for="select-all-notifications"><?php _e( 'Select all', 'buddypress' ); ?></label><input id="select-all-notifications" type="checkbox"></th>6 <th><label class="bp-screen-reader-text" for="select-all-notifications"><?php _e( 'Select all', 'buddypress' ); ?></label><input id="select-all-notifications" type="checkbox"></th> 7 7 <th class="title"><?php _e( 'Notification', 'buddypress' ); ?></th> 8 8 <th class="date"><?php _e( 'Date Received', 'buddypress' ); ?></th> -
trunk/src/bp-templates/bp-legacy/css/buddypress.css
r9132 r9143 729 729 float: right; 730 730 } 731 #buddypress .standard-form #blog-details-section { 732 clear: left; 733 } 734 #buddypress label[for="select-all-notifications"] { 735 display: none; 736 } 731 #buddypress .standard-form #blog-details-section, 737 732 #buddypress #notifications-bulk-management { 738 733 clear: left; 739 734 } 735 body.no-js #buddypress #notifications-bulk-management #select-all-notifications, 736 body.no-js #buddypress label[for="message-type-select"], 737 body.no-js #buddypress #message-type-select, 738 body.no-js #buddypress #delete_inbox_messages, 739 body.no-js #buddypress #delete_sentbox_messages, 740 740 body.no-js #buddypress #notifications-bulk-management #select-all-notifications { 741 741 display: none; … … 828 828 padding: 0 10px 1px; 829 829 } 830 831 /* Form classes & generic attr styling */ 832 #buddypress form *[disabled="disabled"]{ 833 cursor: default; 834 opacity: .4; 835 } 836 .bp-screen-reader-text { 837 clip: rect(1px, 1px, 1px, 1px); 838 position: absolute; 839 } 840 830 841 /*-------------------------------------------------------------- 831 842 3.6 - Ajax Loading … … 872 883 #buddypress input[type="button"].disabled, 873 884 #buddypress input[type="reset"].disabled, 885 #buddypress input[type="submit"][disabled=disabled], 874 886 #buddypress button.pending, 875 887 #buddypress button.disabled, -
trunk/src/bp-templates/bp-legacy/js/buddypress.js
r9132 r9143 1537 1537 }); 1538 1538 } 1539 }); 1540 1541 /* Make sure a 'Bulk Action' is selected before submiting the form */ 1542 jq('#notification-bulk-manage').attr('disabled', 'disabled'); 1543 1544 /* Remove the disabled attribute from the form submit button when bulk action has a value */ 1545 jq('#notification-select').on('change', function(){ 1546 jq('#notification-bulk-manage').attr('disabled', jq(this).val().length <= 0); 1539 1547 }); 1540 1548
Note: See TracChangeset
for help on using the changeset viewer.