Changeset 9668 for trunk/wp-admin/upload.php
- Timestamp:
- 11/13/2008 08:59:32 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/upload.php
r9631 r9668 452 452 $('#doaction, #doaction2').click(function(e){ 453 453 if ( $('select[name^="action"]').val() == 'delete' ) { 454 var n = $('#the-list input[type="checkbox"]:checked').length; 455 var m = n > 1 ? '<?php echo js_escape(__("You are about to delete the selected attachments.\n 'Cancel' to stop, 'OK' to delete.")); ?>' : '<?php echo js_escape(__("You are about to delete the selected attachment.\n 'Cancel' to stop, 'OK' to delete.")); ?>'; 454 var m = '<?php echo js_escape(__("You are about to delete the selected attachments.\n 'Cancel' to stop, 'OK' to delete.")); ?>'; 456 455 return showNotice.warn(m); 457 456 } else if ( $('select[name^="action"]').val() == 'attach' ) {
Note: See TracChangeset
for help on using the changeset viewer.