[longomatch/redesign2: 126/159] Add default constaructor for team subcategories



commit 26cff32729333bd44aefe65eb224438352d632f4
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]