Ticket #20855: 20855.11.diff
File 20855.11.diff, 929 bytes (added by , 11 years ago) |
---|
-
wp-admin/js/common.js
395 395 if ( ! form.length ) 396 396 return; 397 397 button = form.find('input[type="submit"]'); 398 input = form.find('input[type="file"]');398 input = button.prev('input[type="file"]'); 399 399 function toggleUploadButton() { 400 400 button.prop('disabled', '' === input.val()); 401 401 } -
wp-admin/media-upload.php
87 87 88 88 require_once('./admin-header.php'); 89 89 90 $form_class = 'media-upload-form type-form validate';90 $form_class = 'media-upload-form wp-upload-form type-form validate'; 91 91 92 92 if ( get_user_setting('uploader') ) 93 93 $form_class .= ' html-uploader';