You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2014/10/18 07:43:26 UTC

[09/30] git commit: [flex-asjs] [refs/heads/develop] - fix PropertyWatchers in chains. They don't need to listen to a parent PropertyWatcher

fix PropertyWatchers in chains.  They don't need to listen to a parent PropertyWatcher


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/9d01a684
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/9d01a684
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/9d01a684

Branch: refs/heads/develop
Commit: 9d01a684aa13f04264ab950b5f7e78c81bf45786
Parents: d2bbaab
Author: Alex Harui <ah...@apache.org>
Authored: Mon Oct 13 12:47:17 2014 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Fri Oct 17 22:38:43 2014 -0700

----------------------------------------------------------------------
 .../FlexJSUI/src/org/apache/flex/binding/PropertyWatcher.as        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9d01a684/frameworks/as/projects/FlexJSUI/src/org/apache/flex/binding/PropertyWatcher.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSUI/src/org/apache/flex/binding/PropertyWatcher.as b/frameworks/as/projects/FlexJSUI/src/org/apache/flex/binding/PropertyWatcher.as
index 1f145c6..bb8ee4e 100644
--- a/frameworks/as/projects/FlexJSUI/src/org/apache/flex/binding/PropertyWatcher.as
+++ b/frameworks/as/projects/FlexJSUI/src/org/apache/flex/binding/PropertyWatcher.as
@@ -144,7 +144,7 @@ package org.apache.flex.binding
 
             source = parent;
             
-            if (source)
+            if (source && source is IEventDispatcher)
                 addEventListeners();
             
             // Now get our property.