Make WordPress Core


Ignore:
Timestamp:
11/07/2012 11:54:03 PM (12 years ago)
Author:
nacin
Message:

Forms with the class .wp-upload-form will now have their submit button disabled until a file is selected. props kovshenin, helenyhou, lessbloat, SergeyBiryukov, tommcfarlin. fixes #20855.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/custom-background.php

    r22030 r22459  
    255255<tr valign="top">
    256256<th scope="row"><?php _e('Select Image'); ?></th>
    257 <td><form enctype="multipart/form-data" id="upload-form" method="post" action="">
     257<td><form enctype="multipart/form-data" id="upload-form" class="wp-upload-form" method="post" action="">
    258258    <p>
    259259        <label for="upload"><?php _e( 'Choose an image from your computer:' ); ?></label><br />
Note: See TracChangeset for help on using the changeset viewer.