1. #1
    Ext User thorasmund's Avatar
    Join Date
    Sep 2007
    Posts
    11
    Vote Rating
    0
    thorasmund is on a distinguished road

      0  

    Question Change event for HtmlEditor not firing

    Change event for HtmlEditor not firing


    Does anyone have any idea why the below change event is not fired when I change the content of the HtmlEditor and move focus to another component?

    thanks


    myHtmlEditor = new Ext.form.HtmlEditor({
    ...
    });

    myHtmlEditor.on('change', onHtmlEditorChanged);

  2. #2
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,664
    Vote Rating
    584
    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


    Well, unless the documentation is incorrect, there is no change event.

    http://extjs.com/deploy/ext/docs/out...tmlEditor.html

  3. #3
    Ext User thorasmund's Avatar
    Join Date
    Sep 2007
    Posts
    11
    Vote Rating
    0
    thorasmund is on a distinguished road

      0  

    Default


    Exactly, so, how do I make it so that a "dirty" icon is turned on, or the component changes color to red, when there are changes done?
    Web developer, Japan 

  4. #4
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,664
    Vote Rating
    584
    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  

  5. #5
    Ext User thorasmund's Avatar
    Join Date
    Sep 2007
    Posts
    11
    Vote Rating
    0
    thorasmund is on a distinguished road

      0  

    Default


    Thanks, I got it to work sort of. Unfortunately it is called as soon as the contents change, not on Blur, like the other compos.
    Web developer, Japan 

Thread Participants: 1