Make WordPress Core


Ignore:
Timestamp:
01/12/2009 01:43:17 PM (17 years ago)
Author:
azaozz
Message:

Cleanup js files and prepare for concatenating, move most inline js to files

File:
1 edited

Legend:

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

    r10049 r10348  
    297297</div>
    298298
    299 <script type="text/javascript">
    300 /* <![CDATA[ */
    301 (function($){
    302     $(document).ready(function(){
    303         $('#doaction, #doaction2').click(function(){
    304             if ( $('select[name^="action"]').val() == 'delete' ) {
    305                 var m = '<?php echo js_escape(__("You are about to delete the selected posts.\n  'Cancel' to stop, 'OK' to delete.")); ?>';
    306                 return showNotice.warn(m);
    307             }
    308         });
    309     });
    310 })(jQuery);
    311 columns.init('edit');
    312 /* ]]> */
    313 </script>
    314 
    315 <?php include('admin-footer.php'); ?>
     299<?php
     300include('admin-footer.php');
Note: See TracChangeset for help on using the changeset viewer.