<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fc0 solid; padding: 6px; }
#msg ul, pre { overflow: auto; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<title>[16407] trunk/wp-includes/js/tinymce:
  Improve internal linking river feedback.</title>
</head>
<body>

<div id="msg">
<dl>
<dt>Revision</dt> <dd><a href="http://trac.wordpress.org/changeset/16407">16407</a></dd>
<dt>Author</dt> <dd>nacin</dd>
<dt>Date</dt> <dd>2010-11-16 18:30:34 +0000 (Tue, 16 Nov 2010)</dd>
</dl>

<h3>Log Message</h3>
<pre>Improve internal linking river feedback. props koopersmith, see <a href="http://trac.wordpress.org/ticket/11420">#11420</a>.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkwpincludesjstinymcepluginswplinkjswplinkdevjs">trunk/wp-includes/js/tinymce/plugins/wplink/js/wplink.dev.js</a></li>
<li><a href="#trunkwpincludesjstinymcepluginswplinkjswplinkjs">trunk/wp-includes/js/tinymce/plugins/wplink/js/wplink.js</a></li>
<li><a href="#trunkwpincludesjstinymcewpmcelinkphp">trunk/wp-includes/js/tinymce/wp-mce-link.php</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkwpincludesjstinymcepluginswplinkjswplinkdevjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/tinymce/plugins/wplink/js/wplink.dev.js (16406 => 16407)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/tinymce/plugins/wplink/js/wplink.dev.js        2010-11-16 17:51:45 UTC (rev 16406)
+++ trunk/wp-includes/js/tinymce/plugins/wplink/js/wplink.dev.js        2010-11-16 18:30:34 UTC (rev 16407)
</span><span class="lines">@@ -1,6 +1,8 @@
</span><span class="cx"> (function($){        
</span><span class="cx">         var inputs = {}, results = {}, ed,
</span><span class="cx">         wpLink = {
</span><ins>+                timeToTriggerRiver: 150,
+                minRiverAJAXDuration: 200,
</ins><span class="cx">                 lastSearch: '',
</span><span class="cx">                 riverDefaults: function() {
</span><span class="cx">                         return {
</span><span class="lines">@@ -130,22 +132,34 @@
</span><span class="cx">                         var t = $(this),
</span><span class="cx">                                 ul = t.children('ul'),
</span><span class="cx">                                 river = t.data('river'),
</span><del>-                                waiting = t.find('.river-waiting');
</del><ins>+                                bottom = t.scrollTop() + t.height();
</ins><span class="cx">                         
</span><del>-                        if( t.scrollTop() + t.height() != ul.height() || river.active || river.allLoaded )
</del><ins>+                        if ( bottom != ul.height() || river.active || river.allLoaded )
</ins><span class="cx">                                 return;
</span><span class="cx">                         
</span><del>-                        river.active = true;
-                        waiting.show();
-                        
-                        wpLink.linkAJAX( t, { page : river.page }, function(r) {
-                                river.page++;
-                                river.active = false;
-                                river.allLoaded = !r;
-                                waiting.hide();
-                        }, true);
</del><ins>+                        setTimeout(function() {
+                                var newTop = t.scrollTop(),
+                                        newBottom = newTop + t.height(),
+                                        waiting = t.find('.river-waiting');
+                                
+                                if ( bottom != newBottom || newBottom != ul.height() || river.active || river.allLoaded )
+                                        return;
+                                
+                                river.active = true;
+                                waiting.show();
+                                t.scrollTop( newTop + waiting.outerHeight() );
+
+                                wpLink.linkAJAX( t, { page : river.page }, function(r) {
+                                        river.page++;
+                                        river.active = false;
+                                        river.allLoaded = !r;
+                                        waiting.hide();
+                                }, {
+                                        append : true,
+                                        delay : wpLink.minRiverAJAXDuration
+                                });
+                        }, wpLink.timeToTriggerRiver );
</ins><span class="cx">                 },
</span><del>-                
</del><span class="cx">                 searchInternalLinks : function() {
</span><span class="cx">                         var t = $(this), waiting,
</span><span class="cx">                                 title = t.val();
</span><span class="lines">@@ -170,40 +184,72 @@
</span><span class="cx">                         }
</span><span class="cx">                 },
</span><span class="cx">                 
</span><del>-                linkAJAX : function( $panel, params, callback, append ) {
</del><ins>+                linkAJAX : function( $panel, params, callback, opts ) {
+                        var response;
+                        opts = opts || {};
+                        
</ins><span class="cx">                         if ( ! $panel.hasClass('query-results') )
</span><span class="cx">                                 $panel = $panel.parents('.query-results');
</span><span class="cx">                         
</span><span class="cx">                         if ( ! $panel.length )
</span><span class="cx">                                 return;
</span><span class="cx">                         
</span><ins>+                        response = wpLink.delayedCallback( function( results ) {
+                                wpLink.processAJAXResponse( $panel, results, callback, opts );
+                        }, opts.delay );
+                        
</ins><span class="cx">                         $.post( ajaxurl, $.extend({
</span><span class="cx">                                 action : 'wp-link-ajax'
</span><del>-                        }, params ), function( results ) {
-                                var list = '';
-                                
-                                if ( !results ) {
-                                        if ( !append ) {
-                                                list += '&lt;li class=&quot;no-matches-found unselectable&quot;&gt;&lt;span class=&quot;item-title&quot;&gt;&lt;em&gt;'
-                                                + wpLinkL10n.noMatchesFound
-                                                + '&lt;/em&gt;&lt;/span&gt;&lt;/li&gt;';
-                                        }
-                                } else {
-                                        $.each( results, function() {
-                                                list += '&lt;li&gt;&lt;input type=&quot;hidden&quot; class=&quot;item-permalink&quot; value=&quot;' + this['permalink'] + '&quot; /&gt;';
-                                                list += '&lt;span class=&quot;item-title&quot;&gt;';
-                                                list += this['title'] ? this['title'] : '&lt;em&gt;'+ wpLinkL10n.untitled + '&lt;/em&gt;';
-                                                list += '&lt;/span&gt;&lt;span class=&quot;item-info&quot;&gt;' + this['info'] + '&lt;/span&gt;&lt;/li&gt;';
-                                        });
</del><ins>+                        }, params ), response, &quot;json&quot; );
+                },
+                
+                processAJAXResponse: function( $panel, results, callback, opts ) {
+                        var list = '';
+                        
+                        if ( !results ) {
+                                if ( !opts.append ) {
+                                        list += '&lt;li class=&quot;no-matches-found unselectable&quot;&gt;&lt;span class=&quot;item-title&quot;&gt;&lt;em&gt;'
+                                        + wpLinkL10n.noMatchesFound
+                                        + '&lt;/em&gt;&lt;/span&gt;&lt;/li&gt;';
</ins><span class="cx">                                 }
</span><del>-                                
-                                // Set results
-                                $panel.children('ul')[ append ? 'append' : 'html' ]( list );
-                                
-                                // Run callback
-                                if ( callback )
-                                        callback( results );
-                        }, &quot;json&quot; );
</del><ins>+                        } else {
+                                $.each( results, function() {
+                                        list += '&lt;li&gt;&lt;input type=&quot;hidden&quot; class=&quot;item-permalink&quot; value=&quot;' + this['permalink'] + '&quot; /&gt;';
+                                        list += '&lt;span class=&quot;item-title&quot;&gt;';
+                                        list += this['title'] ? this['title'] : '&lt;em&gt;'+ wpLinkL10n.untitled + '&lt;/em&gt;';
+                                        list += '&lt;/span&gt;&lt;span class=&quot;item-info&quot;&gt;' + this['info'] + '&lt;/span&gt;&lt;/li&gt;';
+                                });
+                        }
+                        
+                        // Set results
+                        $panel.children('ul')[ opts.append ? 'append' : 'html' ]( list );
+                        
+                        // Run callback
+                        if ( callback )
+                                callback( results );
+                },
+                
+                delayedCallback : function( func, delay ) {
+                        var timeoutTriggered, funcTriggered, funcArgs, funcContext;
+                        
+                        if ( ! delay )
+                                return func;
+                        
+                        setTimeout( function() {
+                                if ( funcTriggered )
+                                        return func.apply( funcContext, funcArgs );
+                                // Otherwise, wait.
+                                timeoutTriggered = true;
+                        }, delay);
+                        
+                        return function() {
+                                if ( timeoutTriggered )
+                                        return func.apply( this, arguments );
+                                // Otherwise, wait.
+                                funcArgs = arguments;
+                                funcContext = this;
+                                funcTriggered = true;
+                        };
</ins><span class="cx">                 }
</span><span class="cx">         }
</span><span class="cx">         
</span></span></pre></div>
<a id="trunkwpincludesjstinymcepluginswplinkjswplinkjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/tinymce/plugins/wplink/js/wplink.js (16406 => 16407)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/tinymce/plugins/wplink/js/wplink.js        2010-11-16 17:51:45 UTC (rev 16406)
+++ trunk/wp-includes/js/tinymce/plugins/wplink/js/wplink.js        2010-11-16 18:30:34 UTC (rev 16407)
</span><span class="lines">@@ -1 +1 @@
</span><del>-(function(d){var a={},c={},b,e={lastSearch:&quot;&quot;,riverDefaults:function(){return{page:2,allLoaded:false,active:false}},init:function(){var f;b=tinyMCEPopup.editor;a.url=d(&quot;#url-field&quot;);a.title=d(&quot;#link-title-field&quot;);a.openInNewTab=d(&quot;#link-target-checkbox&quot;);a.search=d(&quot;#search-field&quot;);c.search=d(&quot;#search-results&quot;);c.recent=d(&quot;#most-recent-results&quot;);c.search.data(&quot;river&quot;,e.riverDefaults());c.recent.data(&quot;river&quot;,e.riverDefaults());d(&quot;#wp-update&quot;).click(e.update);d(&quot;#wp-cancel&quot;).click(function(){tinyMCEPopup.close()});d(&quot;.query-results&quot;).delegate(&quot;li&quot;,&quot;click&quot;,e.selectInternalLink);d(&quot;.query-results&quot;).scroll(e.maybeLoadRiver);a.search.keyup(e.searchInternalLinks);if(f=b.dom.getParent(b.selection.getNode(),&quot;A&quot;)){a.url.val(f.href);a.title.val(b.dom.getAttrib(f,&quot;title&quot;));if(&quot;_blank&quot;==b.dom.getAttrib(f,&quot;target&quot;)){a.openInNewTab.attr(&quot;checked&quot;,&quot;checked&quot;)}}a.url.focus()},update:function(){var j,g=tinyMCEPopup.editor,h={href:a.url.val(),title:a.title.val(),target:a.openInNewTab.attr(&quot;checked&quot;)?&quot;_blank&quot;:&quot;&quot;},k,f,i=h.title?h.title:h.href;tinyMCEPopup.restoreSelection();k=g.dom.getParent(g.selection.getNode(),&quot;A&quot;);if(!h.href){if(g.selection.isCollapsed()){tinyMCEPopup.close();return}else{if(k){tinyMCEPopup.execCommand(&quot;mceBeginUndoLevel&quot;);f=g.selection.getBookmark();g.dom.remove(k,1);g.selection.moveToBookmark(f);tinyMCEPopup.execCommand(&quot;mceEndUndoLevel&quot;);tinyMCEPopup.close();return}}}tinyMCEPopup.execCommand(&quot;mceBeginUndoLevel&quot;);if(k==null){g.getDoc().execCommand(&quot;unlink&quot;,false,null);if(g.selection.isCollapsed()){j=g.dom.create(&quot;a&quot;,{href:&quot;#mce_temp_url#&quot;},i);g.selection.setNode(j)}else{tinyMCEPopup.execCommand(&quot;CreateLink&quot;,false,&quot;#mce_temp_url#&quot;,{skip_undo:1})}tinymce.each(g.dom.select(&quot;a&quot;),function(l){if(g.dom.getAttrib(l,&quot;href&quot;)==&quot;#mce_temp_url#&quot;){k=l;g.dom.setAttribs(k,h)}})}else{g.dom.setAttribs(k,h)}if(k.childNodes.length!=1||k.firstChild.nodeName!=&quot;IMG&quot;){g.focus();g.selection.select(k);g.selection.collapse(0);tinyMCEPopup.storeSelection()}tinyMCEPopup.execCommand(&quot;mceEndUndoLevel&quot;);tinyMCEPopup.close()},selectInternalLink:function(){var f=d(this);if(f.hasClass(&quot;unselectable&quot;)){return}f.siblings(&quot;.selected&quot;).removeClass(&quot;selected&quot;);f.addClass(&quot;selected&quot;);a.url.val(f.children(&quot;.item-permalink&quot;).val());a.title.val(f.children(&quot;.item-title&quot;).text())},maybeLoadRiver:function(){var g=d(this),f=g.children(&quot;ul&quot;),h=g.data(&quot;river&quot;),i=g.find(&quot;.river-waiting&quot;);if(g.scrollTop()+g.height()!=f.height()||h.active||h.allLoaded){return}h.active=true;i.show();e.linkAJAX(g,{page:h.page},function(j){h.page++;h.active=false;h.allLoaded=!j;i.hide()},true)},searchInternalLinks:function(){var f=d(this),h,g=f.val();if(g.length&gt;2){c.recent.hide();c.search.show();if(e.lastSearch==g){return}e.lastSearch=g;h=f.siblings(&quot;img.waiting&quot;).show();c.search.data(&quot;river&quot;,e.riverDefaults());c.search.scrollTop(0);e.linkAJAX(c.search,{title:g},function(){h.hide()})}else{c.search.hide();c.recent.show()}},linkAJAX:function(h,g,i,f){if(!h.hasClass(&quot;query-results&quot;)){h=h.parents(&quot;.query-results&quot;)}if(!h.length){return}d.post(ajaxurl,d.extend({action:&quot;wp-link-ajax&quot;},g),function(j){var k=&quot;&quot;;if(!j){if(!f){k+='&lt;li class=&quot;no-matches-found unselectable&quot;&gt;&lt;span class=&quot;item-title&quot;&gt;&lt;em&gt;'+wpLinkL10n.noMatchesFound+&quot;&lt;/em&gt;&lt;/span&gt;&lt;/li&gt;&quot;}}else{d.each(j,function(){k+='&lt;li&gt;&lt;input type=&quot;hidden&quot; class=&quot;item-permalink&quot; value=&quot;'+this[&quot;permalink&quot;]+'&quot; /&gt;';k+='&lt;span class=&quot;item-title&quot;&gt;';k+=this[&quot;title&quot;]?this[&quot;title&quot;]:&quot;&lt;em&gt;&quot;+wpLinkL10n.untitled+&quot;&lt;/em&gt;&quot;;k+='&lt;/span&gt;&lt;span class=&quot;item-info&quot;&gt;'+this[&quot;info&quot;]+&quot;&lt;/span&gt;&lt;/li&gt;&quot;})}h.children(&quot;ul&quot;)[f?&quot;append&quot;:&quot;html&quot;](k);if(i){i(j)}},&quot;json&quot;)}};d(document).ready(e.init)})(jQuery);
</del><span class="cx">\ No newline at end of file
</span><ins>+(function(d){var a={},c={},b,e={timeToTriggerRiver:150,minRiverAJAXDuration:200,lastSearch:&quot;&quot;,riverDefaults:function(){return{page:2,allLoaded:false,active:false}},init:function(){var f;b=tinyMCEPopup.editor;a.url=d(&quot;#url-field&quot;);a.title=d(&quot;#link-title-field&quot;);a.openInNewTab=d(&quot;#link-target-checkbox&quot;);a.search=d(&quot;#search-field&quot;);c.search=d(&quot;#search-results&quot;);c.recent=d(&quot;#most-recent-results&quot;);c.search.data(&quot;river&quot;,e.riverDefaults());c.recent.data(&quot;river&quot;,e.riverDefaults());d(&quot;#wp-update&quot;).click(e.update);d(&quot;#wp-cancel&quot;).click(function(){tinyMCEPopup.close()});d(&quot;.query-results&quot;).delegate(&quot;li&quot;,&quot;click&quot;,e.selectInternalLink);d(&quot;.query-results&quot;).scroll(e.maybeLoadRiver);a.search.keyup(e.searchInternalLinks);if(f=b.dom.getParent(b.selection.getNode(),&quot;A&quot;)){a.url.val(f.href);a.title.val(b.dom.getAttrib(f,&quot;title&quot;));if(&quot;_blank&quot;==b.dom.getAttrib(f,&quot;target&quot;)){a.openInNewTab.attr(&quot;checked&quot;,&quot;checked&quot;)}}a.url.focus()},update:function(){var j,g=tinyMCEPopup.editor,h={href:a.url.val(),title:a.title.val(),target:a.openInNewTab.attr(&quot;checked&quot;)?&quot;_blank&quot;:&quot;&quot;},k,f,i=h.title?h.title:h.href;tinyMCEPopup.restoreSelection();k=g.dom.getParent(g.selection.getNode(),&quot;A&quot;);if(!h.href){if(g.selection.isCollapsed()){tinyMCEPopup.close();return}else{if(k){tinyMCEPopup.execCommand(&quot;mceBeginUndoLevel&quot;);f=g.selection.getBookmark();g.dom.remove(k,1);g.selection.moveToBookmark(f);tinyMCEPopup.execCommand(&quot;mceEndUndoLevel&quot;);tinyMCEPopup.close();return}}}tinyMCEPopup.execCommand(&quot;mceBeginUndoLevel&quot;);if(k==null){g.getDoc().execCommand(&quot;unlink&quot;,false,null);if(g.selection.isCollapsed()){j=g.dom.create(&quot;a&quot;,{href:&quot;#mce_temp_url#&quot;},i);g.selection.setNode(j)}else{tinyMCEPopup.execCommand(&quot;CreateLink&quot;,false,&quot;#mce_temp_url#&quot;,{skip_undo:1})}tinymce.each(g.dom.select(&quot;a&quot;),function(l){if(g.dom.getAttrib(l,&quot;href&quot;)==&quot;#mce_temp_url#&quot;){k=l;g.dom.setAttribs(k,h)}})}else{g.dom.setAttribs(k,h)}if(k.childNodes.length!=1||k.firstChild.nodeName!=&quot;IMG&quot;){g.focus();g.selection.select(k);g.selection.collapse(0);tinyMCEPopup.storeSelection()}tinyMCEPopup.execCommand(&quot;mceEndUndoLevel&quot;);tinyMCEPopup.close()},selectInternalLink:function(){var f=d(this);if(f.hasClass(&quot;unselectable&quot;)){return}f.siblings(&quot;.selected&quot;).removeClass(&quot;selected&quot;);f.addClass(&quot;selected&quot;);a.url.val(f.children(&quot;.item-permalink&quot;).val());a.title.val(f.children(&quot;.item-title&quot;).text())},maybeLoadRiver:function(){var h=d(this),g=h.children(&quot;ul&quot;),i=h.data(&quot;river&quot;),f=h.scrollTop()+h.height();if(f!=g.height()||i.active||i.allLoaded){return}setTimeout(function(){var j=h.scrollTop(),k=j+h.height(),l=h.find(&quot;.river-waiting&quot;);if(f!=k||k!=g.height()||i.active||i.allLoaded){return}i.active=true;l.show();h.scrollTop(j+l.outerHeight());e.linkAJAX(h,{page:i.page},function(m){i.page++;i.active=false;i.allLoaded=!m;l.hide()},{append:true,delay:e.minRiverAJAXDuration})},e.timeToTriggerRiver)},searchInternalLinks:function(){var f=d(this),h,g=f.val();if(g.length&gt;2){c.recent.hide();c.search.show();if(e.lastSearch==g){return}e.lastSearch=g;h=f.siblings(&quot;img.waiting&quot;).show();c.search.data(&quot;river&quot;,e.riverDefaults());c.search.scrollTop(0);e.linkAJAX(c.search,{title:g},function(){h.hide()})}else{c.search.hide();c.recent.show()}},linkAJAX:function(i,h,j,g){var f;g=g||{};if(!i.hasClass(&quot;query-results&quot;)){i=i.parents(&quot;.query-results&quot;)}if(!i.length){return}f=e.delayedCallback(function(k){e.processAJAXResponse(i,k,j,g)},g.delay);d.post(ajaxurl,d.extend({action:&quot;wp-link-ajax&quot;},h),f,&quot;json&quot;)},processAJAXResponse:function(i,f,j,g){var h=&quot;&quot;;if(!f){if(!g.append){h+='&lt;li class=&quot;no-matches-found unselectable&quot;&gt;&lt;span class=&quot;item-title&quot;&gt;&lt;em&gt;'+wpLinkL10n.noMatchesFound+&quot;&lt;/em&gt;&lt;/span&gt;&lt;/li&gt;&quot;}}else{d.each(f,function(){h+='&lt;li&gt;&lt;input type=&quot;hidden&quot; class=&quot;item-permalink&quot; value=&quot;'+this[&quot;permalink&quot;]+'&quot; /&gt;';h+='&lt;span class=&quot;item-title&quot;&gt;';h+=this[&quot;title&quot;]?this[&quot;title&quot;]:&quot;&lt;em&gt;&quot;+wpLinkL10n.untitled+&quot;&lt;/em&gt;&quot;;h+='&lt;/span&gt;&lt;span class=&quot;item-info&quot;&gt;'+this[&quot;info&quot;]+&quot;&lt;/span&gt;&lt;/li&gt;&quot;})}i.children(&quot;ul&quot;)[g.append?&quot;append&quot;:&quot;html&quot;](h);if(j){j(f)}},delayedCallback:function(h,f){var k,j,i,g;if(!f){return h}setTimeout(function(){if(j){return h.apply(g,i)}k=true},f);return function(){if(k){return h.apply(this,arguments)}i=arguments;g=this;j=true}}};d(document).ready(e.init)})(jQuery);
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkwpincludesjstinymcewpmcelinkphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/tinymce/wp-mce-link.php (16406 => 16407)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/tinymce/wp-mce-link.php        2010-11-16 17:51:45 UTC (rev 16406)
+++ trunk/wp-includes/js/tinymce/wp-mce-link.php        2010-11-16 18:30:34 UTC (rev 16407)
</span><span class="lines">@@ -23,7 +23,7 @@
</span><span class="cx"> &lt;?php
</span><span class="cx"> wp_print_scripts( array( 'jquery', 'jquery-ui-widget' ) );
</span><span class="cx"> $suffix = defined( 'SCRIPT_DEBUG' ) &amp;&amp; SCRIPT_DEBUG ? '.dev' : '';
</span><del>-$src = &quot;plugins/wplink/js/wplink$suffix.js?ver=20101116&quot;;
</del><ins>+$src = &quot;plugins/wplink/js/wplink$suffix.js?ver=20101116b&quot;;
</ins><span class="cx"> ?&gt;
</span><span class="cx"> &lt;script type=&quot;text/javascript&quot; src=&quot;&lt;?php echo $src; ?&gt;&quot;&gt;&lt;/script&gt;
</span><span class="cx"> &lt;?php
</span><span class="lines">@@ -70,7 +70,7 @@
</span><span class="cx">         float: left;
</span><span class="cx">         width: 220px;
</span><span class="cx"> }
</span><del>-img.waiting {
</del><ins>+.link-search-wrapper img.waiting {
</ins><span class="cx">         margin: 8px 1px 0 4px;
</span><span class="cx">         float: left;
</span><span class="cx">         display: none;
</span></span></pre>
</div>
</div>

</body>
</html>