WordPress.org

Make WordPress Core

Changeset 22517


Ignore:
Timestamp:
11/10/12 03:05:48 (3 years ago)
Author:
azaozz
Message:

QuickPress: add some JS to set wpActiveEditor when the title or content is focused, fixes #22021

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/js/dashboard.js

    r22019 r22517  
    108108            }); 
    109109        }); 
     110 
     111        $('#dashboard_quick_press #title, #dashboard_quick_press #content').focus(function(){ wpActiveEditor = 'content'; }); 
    110112    }; 
    111113    quickPressLoad(); 
Note: See TracChangeset for help on using the changeset viewer.