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/categories.php

    r10344 r10348  
    288288</div><!-- /wrap -->
    289289
    290 <script type="text/javascript">
    291 /* <![CDATA[ */
    292 (function($){
    293     $(document).ready(function(){
    294         $('#doaction, #doaction2').click(function(){
    295             if ( $('select[name^="action"]').val() == 'delete' ) {
    296                 var m = '<?php echo js_escape(__("You are about to delete the selected categories.\n  'Cancel' to stop, 'OK' to delete.")); ?>';
    297                 return showNotice.warn(m);
    298             }
    299         });
    300     });
    301 })(jQuery);
    302 /* ]]> */
    303 </script>
    304 
    305290<?php
    306291inline_edit_term_row('categories');
Note: See TracChangeset for help on using the changeset viewer.