| Revision 3878:fd5264175804,
            321 bytes
            checked in by franck <carnet.franck.paul@…>, 7 years ago
            (diff) | 
        
          | 
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
 | 
      
      
        
  | Rev | Line |  | 
|---|
| [3878] | 1 | /*global $, dotclear, datePicker, commentTb */ | 
|---|
|  | 2 | 'use strict'; | 
|---|
|  | 3 |  | 
|---|
|  | 4 | $(function() { | 
|---|
|  | 5 | $('#comments').onetabload(function() { | 
|---|
|  | 6 | $.expandContent({ | 
|---|
|  | 7 | line: $('#part-comments .comments-list tr:not(.line)'), | 
|---|
|  | 8 | lines: $('#part-comments .comments-list tr.line'), | 
|---|
|  | 9 | callback: dotclear.viewCommentContent | 
|---|
|  | 10 | }); | 
|---|
|  | 11 | }); | 
|---|
|  | 12 | }); | 
|---|
       
      Note: See 
TracBrowser
        for help on using the repository browser.