Dotclear


Ignore:
Timestamp:
12/17/18 07:55:02 (7 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Switching from inline JS variables to JSON script. dcLegacyEditor is coming

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/dcLegacyEditor/js/_post_editor.js

    r3880 r3945  
    1 /*global $, dotclear, jsToolBar */ 
     1/*global $, dotclear, jsToolBar, getData */ 
    22'use strict'; 
     3 
     4// Get context 
     5Object.assign(dotclear, getData('legacy_editor_ctx')); 
    36 
    47$(function() { 
     
    69    return; 
    710  } 
     11 
    812  if (dotclear.legacy_editor_context === undefined || 
    913    dotclear.legacy_editor_tags_context[dotclear.legacy_editor_context] === undefined) { 
Note: See TracChangeset for help on using the changeset viewer.

Sites map