You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by bi...@apache.org on 2014/11/10 21:30:49 UTC
git commit: [flex-utilities] [refs/heads/apache-tour-de-flex-1.2] -
Make sure @link is available before accessing it
Repository: flex-utilities
Updated Branches:
refs/heads/apache-tour-de-flex-1.2 5af488924 -> a371f822f
Make sure @link is available before accessing it
Project: http://git-wip-us.apache.org/repos/asf/flex-utilities/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-utilities/commit/a371f822
Tree: http://git-wip-us.apache.org/repos/asf/flex-utilities/tree/a371f822
Diff: http://git-wip-us.apache.org/repos/asf/flex-utilities/diff/a371f822
Branch: refs/heads/apache-tour-de-flex-1.2
Commit: a371f822f61fd68f05771cc7d43d3df7c9331ccc
Parents: 5af4889
Author: OmPrakash Muppirala <bi...@gmail.com>
Authored: Mon Nov 10 12:29:40 2014 -0800
Committer: OmPrakash Muppirala <bi...@gmail.com>
Committed: Mon Nov 10 12:30:05 2014 -0800
----------------------------------------------------------------------
TourDeFlex/TourDeFlex3/src/explorer.mxml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/a371f822/TourDeFlex/TourDeFlex3/src/explorer.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/explorer.mxml b/TourDeFlex/TourDeFlex3/src/explorer.mxml
index 03808a6..fed755a 100755
--- a/TourDeFlex/TourDeFlex3/src/explorer.mxml
+++ b/TourDeFlex/TourDeFlex3/src/explorer.mxml
@@ -80,7 +80,7 @@
private function treeChanged(event:Event):void
{
var nodeApp:String = compLibTree.selectedItem.@app;
- var link:String = compLibTree.selectedItem.@link;
+ var link:String = compLibTree.selectedItem.hasOwnProperty("@link") ? compLibTree.selectedItem.@link : "";
var thirdParty:Boolean = compLibTree.selectedItem.hasOwnProperty("@thirdParty")
&& compLibTree.selectedItem.@thirdParty == "true";