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/theme-editor.php

    r12752 r13131  
    1919
    2020wp_admin_css( 'theme-editor' );
     21wp_enqueue_script( 'tabby' );
    2122
    2223$themes = get_themes();
     
    233234jQuery(document).ready(function($){
    234235    $('#template').submit(function(){ $('#scrollto').val( $('#newcontent').scrollTop() ); });
    235     $('#newcontent').scrollTop( $('#scrollto').val() );
     236    $('#newcontent').scrollTop( $('#scrollto').val() ).tabby();
    236237});
    237238/* ]]> */
Note: See TracChangeset for help on using the changeset viewer.