Repository: flex-asjs
Updated Branches:
  refs/heads/refactor-sprite 842d677ff -> 9eaf1d4b3


Fixed XMLList replace


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

Branch: refs/heads/refactor-sprite
Commit: 9eaf1d4b329e25c9c3a5299f1a4fb04e4034befa
Parents: 842d677
Author: Harbs <[email protected]>
Authored: Thu Sep 8 12:12:16 2016 +0300
Committer: Harbs <[email protected]>
Committed: Thu Sep 8 12:12:16 2016 +0300

----------------------------------------------------------------------
 frameworks/projects/XML/src/main/flex/XMLList.as | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9eaf1d4b/frameworks/projects/XML/src/main/flex/XMLList.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/XML/src/main/flex/XMLList.as 
b/frameworks/projects/XML/src/main/flex/XMLList.as
index 555fe82..11e727f 100644
--- a/frameworks/projects/XML/src/main/flex/XMLList.as
+++ b/frameworks/projects/XML/src/main/flex/XMLList.as
@@ -754,7 +754,7 @@ package
                public function replace(propertyName:Object, value:*):*
                {
                        if(isSingle())
-                               _xmlArray[0].replace(propertyName,value);
+                               return _xmlArray[0].replace(propertyName,value);
                }
                public function setChild(elementName:*, elements:Object):void
                {

Reply via email to