Make WordPress Core


Ignore:
Timestamp:
08/23/2005 07:46:33 AM (19 years ago)
Author:
matt
Message:

Move JS below edit form, fixes #1555

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-page-form.php

    r2789 r2804  
    118118<fieldset id="postdiv">
    119119    <legend><?php _e('Page Content') ?></legend>
    120 <?php if ( 'true' != get_user_option('rich_editing') ) : ?>
    121 <?php the_quicktags(); ?>
    122 <script type="text/javascript">
    123 <!--
    124 edCanvas = document.getElementById('content');
    125 //-->
    126 </script>
    127 <?php endif; ?>
    128120<?php
    129121 $rows = get_settings('default_post_edit_rows');
     
    135127</fieldset>
    136128
    137 
    138 
     129<?php if ( 'true' != get_user_option('rich_editing') ) : ?>
     130<?php the_quicktags(); ?>
     131<script type="text/javascript">
     132<!--
     133edCanvas = document.getElementById('content');
     134//-->
     135</script>
     136<?php endif; ?>
    139137
    140138<p class="submit">
Note: See TracChangeset for help on using the changeset viewer.