You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by yi...@apache.org on 2022/04/03 11:10:43 UTC

[royale-asjs] branch develop updated: Make emulation submenu data name consistent with mx

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

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


The following commit(s) were added to refs/heads/develop by this push:
     new a3d87b3  Make emulation submenu data name consistent with mx
a3d87b3 is described below

commit a3d87b3ee23f30fd5db0b821e0b6614d1c9fbd29
Author: Yishay Weiss <yi...@hotmail.com>
AuthorDate: Sun Apr 3 14:07:20 2022 +0300

    Make emulation submenu data name consistent with mx
---
 .../src/main/royale/mx/controls/beads/models/CascadingMenuModel.as      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/beads/models/CascadingMenuModel.as b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/beads/models/CascadingMenuModel.as
index 2110d82..e53569c 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/beads/models/CascadingMenuModel.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/beads/models/CascadingMenuModel.as
@@ -84,7 +84,7 @@ package mx.controls.beads.models
 			}
 		}
 
-		private var _submenuField:String = "menu";
+		private var _submenuField:String = "children";
 		
 		/**
 		 * The field in the data object that identifies sub-menus. The default is "menu".

Re: [royale-asjs] branch develop updated: Make emulation submenu data name consistent with mx

Posted by Harbs <ha...@gmail.com>.
> 		 * The field in the data object that identifies sub-menus. The default is "menu".


Don’t know the background on this, but if you are changing the default to “children”, you should probably change the comment to match...

> On Apr 3, 2022, at 2:10 PM, yishayw@apache.org wrote:
> 
> This is an automated email from the ASF dual-hosted git repository.
> 
> yishayw pushed a commit to branch develop
> in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
> 
> 
> The following commit(s) were added to refs/heads/develop by this push:
>     new a3d87b3  Make emulation submenu data name consistent with mx
> a3d87b3 is described below
> 
> commit a3d87b3ee23f30fd5db0b821e0b6614d1c9fbd29
> Author: Yishay Weiss <yi...@hotmail.com>
> AuthorDate: Sun Apr 3 14:07:20 2022 +0300
> 
>    Make emulation submenu data name consistent with mx
> ---
> .../src/main/royale/mx/controls/beads/models/CascadingMenuModel.as      | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/beads/models/CascadingMenuModel.as b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/beads/models/CascadingMenuModel.as
> index 2110d82..e53569c 100644
> --- a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/beads/models/CascadingMenuModel.as
> +++ b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/beads/models/CascadingMenuModel.as
> @@ -84,7 +84,7 @@ package mx.controls.beads.models
> 			}
> 		}
> 
> -		private var _submenuField:String = "menu";
> +		private var _submenuField:String = "children";
> 		
> 		/**
> 		 * The field in the data object that identifies sub-menus. The default is "menu".