Dotclear


Ignore:
Timestamp:
07/03/15 22:25:56 (10 years ago)
Author:
Nicolas <nikrou77@…>
Branch:
default
committer:
Nicolas <nikrou77@gmail.com> 1435955575 -7200
Message:

Update ckeditor to 4.5.1
Many changes and issues fixed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/dcCKEditor/js/ckeditor/adapters/jquery.js

    r2962 r3039  
    2020 
    2121( function( $ ) { 
     22     if ( typeof $ == 'undefined' ) { 
     23          throw new Error( 'jQuery should be loaded before CKEditor jQuery adapter.' ); 
     24     } 
     25 
     26     if ( typeof CKEDITOR == 'undefined' ) { 
     27          throw new Error( 'CKEditor should be loaded before CKEditor jQuery adapter.' ); 
     28     } 
     29 
    2230     /** 
    2331      * Allows CKEditor to override `jQuery.fn.val()`. When set to `true`, the `val()` function 
     
    4351      * @member CKEDITOR.config 
    4452      */ 
    45      CKEDITOR.config.jqueryOverrideVal = typeof CKEDITOR.config.jqueryOverrideVal == 'undefined'  ? 
    46                     true 
    47                : 
    48                     CKEDITOR.config.jqueryOverrideVal; 
    49  
    50      if ( typeof $ == 'undefined' ) 
    51           return; 
     53     CKEDITOR.config.jqueryOverrideVal = 
     54          typeof CKEDITOR.config.jqueryOverrideVal == 'undefined' ? true : CKEDITOR.config.jqueryOverrideVal; 
    5255 
    5356     // jQuery object methods. 
Note: See TracChangeset for help on using the changeset viewer.

Sites map