﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
12835	TypeError: this.getWindow(...).$ is undefined	faren		"hello i have this error :
TypeError: this.getWindow(...).$ is undefined
in ckeditor.js: line 83
 i am trying to ajaxify comments in drupal but this error occures when i reply a comment and i try to save.

   this is my code:
   $.ajax({
           type: ""POST"",
           url: url,
           data: $(this).serialize(), // serializes the form's elements.

        success: function (data) {

        document.title = data.match(""<title>(.*?)</title>"")[1];

        data = $(data);
        var link = [],
            style = [],
            script = [];
        var currentLink = $('link'),
            currentStyle = $('style'),
            currentScript = $('script');
        for (var i=0; i <data.length; i++) {
          switch (data[i].tagName) {
            case ""LINK"":
              link.push(data[i]);
              break;
            case ""STYLE"":
              style.push(data[i]);
              break;
            case ""SCRIPT"":
              script.push(data[i]);
              break;
          }
        }
        link = $(link),
        style = $(style),
        script = $(script);
        getNewElement(link, currentLink);
        getNewElement(style, currentStyle);
        getNewElement(script, currentScript);

               $( ""#content"" ).html( data.find(""#block-system-main""));
               Drupal.attachBehaviors('#content');

        var content_type=Drupal.settings.ajax_links_api.class_content_type;
        $(""body"").attr('class',content_type +' toolbar-drawer');

        ajaxLoading = false;

        getCurrentCatForBody();

      },
      error: function (xhr, ajaxOptions, thrownError) {
        window.location = url;
      }
         });"	Bug	closed	Normal		General		expired		
