Uploaded image for project: 'RichFaces Planning'
  1. RichFaces Planning
  2. RFPL-1796

Metamer: rich:editor: onDirty event handler is not fired

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 4.1.0.Milestone4
    • Fix Version/s: None
    • Component/s: QE
    • Labels:
      None
    • Steps to Reproduce:
      Hide

      1. add alert(' editor is in dirty state ') or console.log(' editor is in dirty state ') into @ondirty
      2. type something into editor text area
      3. expected is alert or log in browser console, but nothing like this doesn't happened

      Show
      1. add alert(' editor is in dirty state ') or console.log(' editor is in dirty state ') into @ondirty 2. type something into editor text area 3. expected is alert or log in browser console, but nothing like this doesn't happened

      Description

      Event handler for @ondirty is not fired when updated editor's content.
      Example in Metamer page for editor: faces/components/richEditor/simple.xhtml [1]

      When set console.log(' editor gets dirty' ) or alert(' editor gets dirty ') into @ondirty and then type into editor, or use toolbar to change test in editor, expected alert/console log doesn't appear.

      [1] http://source.jboss.org/changelog/RichFaces/modules/tests/metamer/trunk/application/src/main/webapp/components/richEditor/simple.xhtml?max=30&view=all

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  jjamrich Ján Jamrich
                  Reporter:
                  jjamrich Ján Jamrich
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: