Index: src/wp-admin/custom-background.php
===================================================================
--- src/wp-admin/custom-background.php	(revisione 37552)
+++ src/wp-admin/custom-background.php	(copia locale)
@@ -274,12 +274,15 @@
 		<?php wp_nonce_field( 'custom-background-upload', '_wpnonce-custom-background-upload' ); ?>
 		<?php submit_button( __( 'Upload' ), 'button', 'submit', false ); ?>
 	</p>
-	<p>
+	<p class="hide-if-no-js">
 		<label for="choose-from-library-link"><?php _e( 'Or choose an image from your media library:' ); ?></label><br />
 		<button id="choose-from-library-link" class="button"
 			data-choose="<?php esc_attr_e( 'Choose a Background Image' ); ?>"
 			data-update="<?php esc_attr_e( 'Set as background' ); ?>"><?php _e( 'Choose Image' ); ?></button>
 	</p>
+	<p class="hide-if-js"> 
+		<strong><?php _e( 'You need Javascript to choose an image from the Media Library.' ); ?></strong> 
+ 	</p> 
 	</form>
 </td>
 </tr>
Index: src/wp-admin/custom-header.php
===================================================================
--- src/wp-admin/custom-header.php	(revisione 37552)
+++ src/wp-admin/custom-header.php	(copia locale)
@@ -585,7 +585,7 @@
 			'_wpnonce-custom-header-upload' => wp_create_nonce('custom-header-upload'),
 		), admin_url('themes.php') ) );
 	?>
-	<p>
+	<p class="hide-if-no-js">
 		<label for="choose-from-library-link"><?php _e( 'Or choose an image from your media library:' ); ?></label><br />
 		<button id="choose-from-library-link" class="button"
 			data-update-link="<?php echo esc_attr( $modal_update_href ); ?>"
@@ -592,6 +592,9 @@
 			data-choose="<?php esc_attr_e( 'Choose a Custom Header' ); ?>"
 			data-update="<?php esc_attr_e( 'Set as header' ); ?>"><?php _e( 'Choose Image' ); ?></button>
 	</p>
+	<p class="hide-if-js"> 
+		<strong><?php _e( 'You need Javascript to choose an image from the Media Library.' ); ?></strong> 
+ 	</p> 
 	</form>
 </td>
 </tr>
Index: src/wp-admin/includes/media.php
===================================================================
--- src/wp-admin/includes/media.php	(revisione 37552)
+++ src/wp-admin/includes/media.php	(copia locale)
@@ -1456,7 +1456,7 @@
 		<tr>
 			<td class='A1B1' id='thumbnail-head-$post->ID'>
 			<p><a href='$attachment_url' target='_blank'><img class='thumbnail' src='$thumb_url' alt='' /></a></p>
-			<p>$image_edit_button</p>
+			<p class='hide-if-no-js'>$image_edit_button</p>
 			</td>
 			<td>
 			<p><strong>" . __('File name:') . "</strong> $filename</p>
