Skip to content

Commit

Permalink
Fix format of findOnce()
Browse files Browse the repository at this point in the history
  • Loading branch information
RobLoach committed Feb 6, 2015
1 parent c85357c commit d1ae38e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/modules/ckeditor/js/ckeditor.admin.js
Expand Up @@ -55,7 +55,7 @@
// really means that all CKEditor toolbar buttons have been removed. Hence,
// all editor features will be removed, so any reactions from filters will
// be undone.
var $configurationForm = $('.ckeditor-toolbar-configuration', context).findOnce('.ckeditor-configuration');
var $configurationForm = $(context).find('.ckeditor-toolbar-configuration').findOnce('ckeditor-configuration');
if ($configurationForm.length && Drupal.ckeditor.models && Drupal.ckeditor.models.Model) {
var config = Drupal.ckeditor.models.Model.toJSON().activeEditorConfig;
var buttons = Drupal.ckeditor.views.controller.getButtonList(config);
Expand Down

0 comments on commit d1ae38e

Please sign in to comment.