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

Built from https://develop.svn.wordpress.org/trunk@29335


git-svn-id: http://core.svn.wordpress.org/trunk@29115 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Ozz 2014-08-01 02:04:17 +00:00
parent 8253a54416
commit 2dda137191
2 changed files with 3 additions and 1 deletions

View File

@ -112,6 +112,7 @@ var wpLink;
inputs.backdrop.show();
wpLink.refresh();
$( document ).trigger( 'wplink-open', inputs.wrap );
},
isMCE: function() {
@ -178,6 +179,7 @@ var wpLink;
inputs.backdrop.hide();
inputs.wrap.hide();
$( document ).trigger( 'wplink-close', inputs.wrap );
},
getAttrs: function() {

File diff suppressed because one or more lines are too long