mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Allow tab to intent in plugin/theme editors. Reverts first pass, [13131]. Props azaozz, fixes #12204
git-svn-id: https://develop.svn.wordpress.org/trunk@13191 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -18,7 +18,6 @@ $parent_file = 'themes.php';
|
||||
wp_reset_vars(array('action', 'redirect', 'profile', 'error', 'warning', 'a', 'file', 'theme', 'dir'));
|
||||
|
||||
wp_admin_css( 'theme-editor' );
|
||||
wp_enqueue_script( 'tabby' );
|
||||
|
||||
$themes = get_themes();
|
||||
|
||||
@@ -233,7 +232,7 @@ if ($allowed_files) :
|
||||
/* <![CDATA[ */
|
||||
jQuery(document).ready(function($){
|
||||
$('#template').submit(function(){ $('#scrollto').val( $('#newcontent').scrollTop() ); });
|
||||
$('#newcontent').scrollTop( $('#scrollto').val() ).tabby();
|
||||
$('#newcontent').scrollTop( $('#scrollto').val() );
|
||||
});
|
||||
/* ]]> */
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user