Results 1 to 2 of 2

Thread: HtmlEditor error when save - TypeError: this.getWin(...) is undefined

  1. #1
    Sencha User
    Join Date
    Aug 2014
    Posts
    10

    Default HtmlEditor error when save - TypeError: this.getWin(...) is undefined

    I am using ExtJs 3.4 and am getting the following error when saving my form which contains the HTML Editor:
    Code:
    getDoc : function(){
      return Ext.isIE ? this.getWin().document : (this.iframe.contentDocument || this.getWin().document);
    }
    I did see another bug from Extjs 4 in this link :
    http://www.sencha.com/forum/showthre...ith-HTMLEditor

    But I cannot find an overriding solution.
    (I initially posted this in the wrong forum too.)
    Can anyone please help me with a workaround for this problem.

    Thanks in advance.

  2. #2
    Sencha User slemmon's Avatar
    Join Date
    Mar 2009
    Location
    Boise, ID
    Posts
    6,165

    Default

    Hi,

    To make sure we're on the same page, can you post a test case that demonstrates the issue you're seeing?

    You can post a test case at https://fiddle.sencha.com (just don't wrap your code with Ext.onReady() in the fiddle).

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •