Projet

Général

Profil

Révision 6fd71452

Ajouté par Julien Enselme il y a environ 10 ans

Update CKEditor

Voir les différences:

drupal7/sites/all/modules/ckeditor/includes/ckeditor.admin.js
3 3
For licensing, see LICENSE.html or http://ckeditor.com/license
4 4
*/
5 5
(function ($) {
6
  Drupal.ckeditor_ver = false;
6
  Drupal.ckeditor_ver = 4;
7 7

  
8 8
  $(document).ready(function() {
9 9
    if (typeof(CKEDITOR) == "undefined")
10 10
      return;
11 11

  
12
    $('#edit-uicolor-textarea').show();
12
    // $('#edit-uicolor-textarea').show();
13 13

  
14
    Drupal.ckeditor_ver = Drupal.settings.ckeditor_version.split('.')[0];
14
    if (Drupal.settings.ckeditor_version) {
15
      Drupal.ckeditor_ver = Drupal.settings.ckeditor_version.split('.')[0];
16
    }
15 17

  
16 18
    Drupal.editSkinEditorInit = function() {
17 19
      var skinframe_src = $('#skinframe').attr('src');
......
129 131
      $("form#ckeditor-admin-profile-form textarea#edit-toolbar, form#ckeditor-admin-profile-form #edit-toolbar + .grippie").show();
130 132
    }
131 133
  });
132
})(jQuery);
134
})(jQuery);

Formats disponibles : Unified diff