Permalink
Browse files

fixes the problem of multiple editor instances on the same page

  • Loading branch information...
1 parent ae2b9fe commit 7d292b332c0ff4c9630dfc32e6b5d9b2a7ed8b38 @jucovschi jucovschi committed Dec 19, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 sites/all/modules/wysiwyg_ace/editors/js/ace0-2.js
@@ -50,8 +50,8 @@ Drupal.wysiwyg.editor.attach.ace = function(context, params, settings) {
require(["editor_tools/main"], function(main) {
handlers = main.enrich_editor(editor, "#ace_"+params.field, {root_path: Drupal.settings.editor_tools.editor_tools_path+"/"});
- toolbar = handlers.toolbar;
- interpretter = handlers.interpretter;
+ var toolbar = handlers.toolbar;
+ var interpretter = handlers.interpretter;
function download(file, callback) {
jQuery.get(file, function(data) {

0 comments on commit 7d292b3

Please sign in to comment.