WordPress.org

Make WordPress Core

Changeset 29335


Ignore:
Timestamp:
08/01/2014 02:03:13 AM (7 years ago)
Author:
azaozz
Message:

wpLink: add custom open and close events, props bradyvercher, fixes #28095.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/js/wplink.js

    r29333 r29335  
    113113
    114114            wpLink.refresh();
     115            $( document ).trigger( 'wplink-open', inputs.wrap );
    115116        },
    116117
     
    179180            inputs.backdrop.hide();
    180181            inputs.wrap.hide();
     182            $( document ).trigger( 'wplink-close', inputs.wrap );
    181183        },
    182184
Note: See TracChangeset for help on using the changeset viewer.