[longomatch/redesign3: 115/143] Add default constaructor for team subcategories



commit e5279dc3cc999b3210f3ebf36aecdefd831bad59
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Sat Apr 9 18:07:44 2011 +0200

    Add default constaructor for team subcategories

 LongoMatch/Store/SubCategory.cs |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/LongoMatch/Store/SubCategory.cs b/LongoMatch/Store/SubCategory.cs
index 0ee7ee5..a558c2c 100644
--- a/LongoMatch/Store/SubCategory.cs
+++ b/LongoMatch/Store/SubCategory.cs
@@ -135,6 +135,15 @@ namespace LongoMatch.Store
 	/// </summary>
 	[Serializable]
 	public class TeamSubCategory: SubCategory<Team> {
+	
+		public TeamSubCategory() {
+			Name = Catalog.GetString("Team");
+			AllowMultiple=true;
+			FastTag=true;
+			Add(Team.LOCAL);
+			Add(Team.VISITOR);
+		}
+		
 		public override string ToMarkupString(){
 			return RenderDesc(Catalog.GetString("Team selection"), "");
 		}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]