Ticket #20855: 20855.12.diff
| File 20855.12.diff, 999 bytes (added by , 13 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 if ( ! input.length ) 400 input = form.find('input[type="file"]'); 399 401 function toggleUploadButton() { 400 402 button.prop('disabled', '' === input.val()); 401 403 } -
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';