Changeset 30908 for branches/4.1
- Timestamp:
- 12/16/2014 03:51:54 PM (8 years ago)
- Location:
- branches/4.1
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.1
-
branches/4.1/src/wp-admin/edit-form-advanced.php
r30892 r30908 648 648 ?> 649 649 650 <?php if ( post_type_supports( $post_type, 'title' ) && '' === $post->post_title ) : ?>650 <?php if ( ! wp_is_mobile() && post_type_supports( $post_type, 'title' ) && '' === $post->post_title ) : ?> 651 651 <script type="text/javascript"> 652 652 try{document.post.title.focus();}catch(e){} -
branches/4.1/src/wp-admin/edit-form-comment.php
r28497 r30908 156 156 </form> 157 157 158 <?php if ( ! wp_is_mobile() ) : ?> 158 159 <script type="text/javascript"> 159 160 try{document.post.name.focus();}catch(e){} 160 161 </script> 162 <?php endif; -
branches/4.1/src/wp-admin/edit-tag-form.php
r30649 r30908 201 201 </form> 202 202 </div> 203 204 <?php if ( ! wp_is_mobile() ) : ?> 203 205 <script type="text/javascript"> 204 206 try{document.forms.edittag.name.focus();}catch(e){} 205 207 </script> 208 <?php endif; -
branches/4.1/src/wp-admin/edit-tags.php
r30649 r30908 584 584 </div><!-- /col-container --> 585 585 </div><!-- /wrap --> 586 587 <?php if ( ! wp_is_mobile() ) : ?> 586 588 <script type="text/javascript"> 587 589 try{document.forms.addtag['tag-name'].focus();}catch(e){} 588 590 </script> 589 591 <?php 592 endif; 593 590 594 $wp_list_table->inline_edit(); 591 595
Note: See TracChangeset
for help on using the changeset viewer.