You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ha...@apache.org on 2019/12/24 08:02:36 UTC

[royale-asjs] 02/03: Fixed typo

This is an automated email from the ASF dual-hosted git repository.

harbs pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git

commit 5fb9d20b3c48de82b0e58575b6f9a1cfd20eb5c6
Author: Harbs <ha...@in-tools.com>
AuthorDate: Tue Dec 24 10:01:49 2019 +0200

    Fixed typo
---
 .../Core/src/main/royale/org/apache/royale/core/ElementWrapper.as     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/frameworks/projects/Core/src/main/royale/org/apache/royale/core/ElementWrapper.as b/frameworks/projects/Core/src/main/royale/org/apache/royale/core/ElementWrapper.as
index ec7ab71..1a06ce7 100644
--- a/frameworks/projects/Core/src/main/royale/org/apache/royale/core/ElementWrapper.as
+++ b/frameworks/projects/Core/src/main/royale/org/apache/royale/core/ElementWrapper.as
@@ -353,7 +353,7 @@ package org.apache.royale.core
                 eventType = e as String;
                 if (e == "change")
                 {
-                    e = EventUtils.createEvent(eventType, e.bubbles);
+                    e = EventUtils.createEvent(eventType, e["bubbles"]);
                 }
             }
             else
@@ -361,7 +361,7 @@ package org.apache.royale.core
                 eventType = e.type;
                 if (ElementEvents.elementEvents[eventType])
                 {
-                    e = EventUtils.createEvent(eventType), e.bubbles;
+                    e = EventUtils.createEvent(eventType, e["bubbles"]);
                 }
             }
             var source:Object = this.getActualDispatcher_(eventType);