You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by mk...@apache.org on 2013/06/26 04:11:40 UTC
git commit: [flex-sdk] [refs/heads/develop] - FLEX-14522: Made
boolean comparison more consistent.
Updated Branches:
refs/heads/develop a374632f5 -> 643dc5bad
FLEX-14522: Made boolean comparison more consistent.
Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/643dc5ba
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/643dc5ba
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/643dc5ba
Branch: refs/heads/develop
Commit: 643dc5bade5292e95321809f6ca1829a15c6db3d
Parents: a374632
Author: Mark Kessler <Ke...@gmail.com>
Authored: Tue Jun 25 22:10:24 2013 -0400
Committer: Mark Kessler <Ke...@gmail.com>
Committed: Tue Jun 25 22:11:13 2013 -0400
----------------------------------------------------------------------
frameworks/projects/mx/src/mx/controls/NavBar.as | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/643dc5ba/frameworks/projects/mx/src/mx/controls/NavBar.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/mx/src/mx/controls/NavBar.as b/frameworks/projects/mx/src/mx/controls/NavBar.as
index 60849a3..58d6093 100644
--- a/frameworks/projects/mx/src/mx/controls/NavBar.as
+++ b/frameworks/projects/mx/src/mx/controls/NavBar.as
@@ -1038,13 +1038,13 @@ public class NavBar extends Box
}
//Check for toolTip field and assign it to the individual button if it exists.
- if (_toolTipField != "" && item.hasOwnProperty(_toolTipField))
+ if (_toolTipField != "" && item.hasOwnProperty(_toolTipField) == true)
{
navItem.toolTip = String(item[_toolTipField]);
}
//Check for enabled field and assign it to the individual button if it exists.
- if (_enabledField != "" && item.hasOwnProperty(_enabledField))
+ if (_enabledField != "" && item.hasOwnProperty(_enabledField) == true)
{
navItem.enabled = Boolean(item[_enabledField]);
}