Dotclear


Ignore:
Timestamp:
09/17/18 16:46:35 (7 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Harmonize scripts used to display entries/comments/trackbacks content in lists - Spam content is displayed as HTML code only, meta key may be used to display other content HTML code (meta key = cmd key on MacOS, windows key on Windows, ...) - Server errors are now basically reported (more info in console log, as timeout, offline, …) to the user

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/js/common.js

    r3870 r3878  
    173173    $('<button type="button" class="details-cmd" aria-label="' + dotclear.img_plus_alt + '">' + dotclear.img_plus_txt + '</button>').click(function(e) { 
    174174      toggleArrow(this); 
    175       callback(line); 
     175      callback(line, '', e); 
    176176      e.preventDefault(); 
    177177    }).prependTo($(line).children().get(0)); // first td 
     
    182182      lines.each(function() { 
    183183        toggleArrow(this.firstChild.firstChild, action); 
    184         callback(this, action); 
     184        callback(this, action, e); 
    185185      }); 
    186186      e.preventDefault(); 
Note: See TracChangeset for help on using the changeset viewer.

Sites map