Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Touch Premium Member
    Join Date
    Feb 2011
    Posts
    15
    Vote Rating
    1
    hulstein is on a distinguished road

      0  

    Default [CLOSED]Error when saving form with HTMLEditor

    [CLOSED]Error when saving form with HTMLEditor


    Hi,

    I changed one of my textarea fields in a form into an htmleditor. When I then save the form content, I get an error:

    TypeError: Result of expression 'this.getWin()' [undefined] is not an object

    This happens in the HTMLEditor code below:

    Code:
        getDoc: function() {
            return (!Ext.isIE && this.iframeEl.dom.contentDocument) || this.getWin().document;
        },
    I changed the this.getWin() to 'window', which I think is the same object, and then I get an error in the line "bodyStyle = body.getAttribute('style')", where bodyStyle is undefined.

    Can it be something I'm doing wrong in using the HTMLEditor? When using the textarea, everything works fine.

    Thanks.

  2. #2
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,801
    Vote Rating
    605
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    This has already been fixed for the next release.
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

  3. #3
    Touch Premium Member
    Join Date
    Feb 2011
    Posts
    15
    Vote Rating
    1
    hulstein is on a distinguished road

      1  

    Default


    I just checked in B3, and the same problem occurs, error with the 'getWin' call.

Similar Threads

  1. Replies: 40
    Last Post: 16 Apr 2010, 12:18 AM
  2. [CLOSED] HtmlEditor Error on Destroy
    By Eric24 in forum Ext 3.x: Bugs
    Replies: 3
    Last Post: 15 Mar 2010, 5:07 PM
  3. Replies: 4
    Last Post: 19 Nov 2009, 7:40 PM
  4. Replies: 4
    Last Post: 20 Feb 2008, 2:50 PM

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi