Make WordPress Core


Ignore:
Timestamp:
02/14/2010 02:14:59 AM (15 years ago)
Author:
nacin
Message:

Allow tab intents in plugin/theme editors. Utilizes the Tabby jQuery plugin, see #12204

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/plugin-editor.php

    r12848 r13131  
    1919
    2020wp_admin_css( 'theme-editor' );
     21wp_enqueue_script( 'tabby' );
    2122
    2223$plugins = get_plugins();
     
    230231jQuery(document).ready(function($){
    231232    $('#template').submit(function(){ $('#scrollto').val( $('#newcontent').scrollTop() ); });
    232     $('#newcontent').scrollTop( $('#scrollto').val() );
     233    $('#newcontent').scrollTop( $('#scrollto').val() ).tabby();
    233234});
    234235/* ]]> */
Note: See TracChangeset for help on using the changeset viewer.