~canonical-sysadmins/wordpress/4.1.3

« back to all changes in this revision

Viewing changes to wp-includes/js/wplink.js

  • Committer: Nick Moffitt
  • Date: 2015-01-15 11:05:37 UTC
  • mfrom: (1.1.1 wp4-upstream)
  • Revision ID: nick.moffitt@canonical.com-20150115110537-8bp1y42eyg0jsa7c
Tags: 4.1
MergeĀ upstreamĀ versionĀ 4.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
77
77
                open: function( editorId ) {
78
78
                        var ed;
79
79
 
 
80
                        $( document.body ).addClass( 'modal-open' );
 
81
 
80
82
                        wpLink.range = null;
81
83
 
82
84
                        if ( editorId ) {
166
168
                },
167
169
 
168
170
                close: function() {
 
171
                        $( document.body ).removeClass( 'modal-open' );
 
172
 
169
173
                        if ( ! wpLink.isMCE() ) {
170
174
                                wpLink.textarea.focus();
171
175