Dotclear

source: plugins/pages/js/page.js @ 3995:58bdf03fbdea

Revision 3995:58bdf03fbdea, 401 bytes checked in by franck <carnet.franck.paul@…>, 6 years ago (diff)

Switching from inline JS variables to JSON script, pages plugin

Line 
1/*global $, dotclear, getData */
2'use strict';
3
4$(function() {
5  // Update page/post deletion message
6  Object.assign(dotclear.msg, getData('pages_page'));
7
8  $('#comments').onetabload(function() {
9    $.expandContent({
10      line: $('#part-comments .comments-list tr:not(.line)'),
11      lines: $('#part-comments .comments-list tr.line'),
12      callback: dotclear.viewCommentContent
13    });
14  });
15});
Note: See TracBrowser for help on using the repository browser.

Sites map