Révision 2e0f6994
Ajouté par Assos Assos il y a environ 4 ans
drupal7/sites/all/modules/ckeditor/includes/ckeditor.admin.js | ||
---|---|---|
92 | 92 |
}); |
93 | 93 |
$("#input-formats :checkbox:eq(0)").trigger('change'); |
94 | 94 |
|
95 |
$(".cke_load_toolbar").click(function() { |
|
96 |
var buttons = eval('Drupal.settings.'+$(this).attr("id")); |
|
95 |
$(".cke_load_toolbar", "#ckeditor-admin-profile-form").click(function() { |
|
96 |
var id = $(this).attr("id").replace(/[^\w]/g, ''); |
|
97 |
if (typeof(Drupal.settings[id]) == 'undefined') { |
|
98 |
return false; |
|
99 |
} |
|
100 |
var buttons = Drupal.settings[id]; |
|
97 | 101 |
var text = "[\n"; |
98 | 102 |
for(i in buttons) { |
99 | 103 |
if (typeof buttons[i] == 'string'){ |
Formats disponibles : Unified diff
Weekly update of contrib modules