Dotclear


Ignore:
Timestamp:
12/02/16 15:12:01 (9 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Remove empty link (href=#) from admin, closes #1776

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/js/common.js

    r3408 r3434  
    380380          $(e).append(document.createTextNode(' ')); 
    381381 
    382           $('<a href="#">'+dotclear.msg.select_all+'</a>').click(function() { 
     382          $('<button class="checkbox-helper select-all">'+dotclear.msg.select_all+'</button>').click(function() { 
    383383               if (target !== undefined) { 
    384384                    target.check(); 
     
    391391               return false; 
    392392          }).appendTo($(e)); 
    393           $(e).append(document.createTextNode(' | ')); 
    394  
    395           $('<a href="#">'+dotclear.msg.no_selection+'</a>').click(function() { 
     393          $(e).append(document.createTextNode(' ')); 
     394 
     395          $('<button class="checkbox-helper select-none">'+dotclear.msg.no_selection+'</button>').click(function() { 
    396396               if (target !== undefined) { 
    397397                    target.unCheck(); 
     
    404404               return false; 
    405405          }).appendTo($(e)); 
    406           $(e).append(document.createTextNode(' - ')); 
    407  
    408           $('<a href="#">'+dotclear.msg.invert_sel+'</a>').click(function() { 
     406          $(e).append(document.createTextNode(' ')); 
     407 
     408          $('<button class="checkbox-helper select-reverse">'+dotclear.msg.invert_sel+'</button>').click(function() { 
    409409               if (target !== undefined) { 
    410410                    target.toggleCheck(); 
Note: See TracChangeset for help on using the changeset viewer.

Sites map