Dotclear

Changeset 3820:31cd92d76668


Ignore:
Timestamp:
08/24/18 12:16:44 (7 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Better name for outgoing links function - addresses #2281

Location:
admin/js
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • admin/js/_index.js

    r3819 r3820  
    156156        $('#content h2').after(xml); 
    157157        // manage outgoing links 
    158         dotclear.outgoingLink('#ajax-update a'); 
     158        dotclear.outgoingLinks('#ajax-update a'); 
    159159      } 
    160160    } 
     
    183183        $('#dashboard-boxes div.db-items').prepend(xml); 
    184184        // manage outgoing links 
    185         dotclear.outgoingLink('#ajax-news a'); 
     185        dotclear.outgoingLinks('#ajax-news a'); 
    186186      } 
    187187    } 
  • admin/js/common.js

    r3819 r3820  
    434434    }); 
    435435  }, 
    436   outgoingLink: function(target) { 
     436  outgoingLinks: function(target) { 
    437437    $(target).filter(function() { 
    438438      return ((this.hostname && this.hostname != location.hostname && !$(this).hasClass('modal') && !$(this).hasClass('modal-image')) || $(this).hasClass('outgoing')); 
     
    461461  }); 
    462462  // manage outgoing links 
    463   dotclear.outgoingLink('a'); 
     463  dotclear.outgoingLinks('a'); 
    464464  // Popups: dealing with Escape key fired 
    465465  $('#dotclear-admin.popup').keyup(function(e) { 
Note: See TracChangeset for help on using the changeset viewer.

Sites map