[Movecommons-commits] r351 - trunk/src

Mario Gallegos mgallegos at ourproject.org
Fri May 11 01:06:00 CEST 2012


Author: mgallegos
Date: 2012-05-11 01:06:00 +0200 (Fri, 11 May 2012)
New Revision: 351

Modified:
   trunk/src/mc-dia-form2.js
Log:


Modified: trunk/src/mc-dia-form2.js
===================================================================
--- trunk/src/mc-dia-form2.js	2012-05-10 22:54:21 UTC (rev 350)
+++ trunk/src/mc-dia-form2.js	2012-05-10 23:06:00 UTC (rev 351)
@@ -21,6 +21,13 @@
 			$("#methods-procedures").removeAttr("disabled");
 			$("#documentation").removeAttr("disabled");
 		}
+		if(id=='gr'){
+			$("#decisions-general-assemblies").removeAttr("disabled");
+			$("#decisions-consensus").removeAttr("disabled");
+			$("#representatives-democratically").removeAttr("disabled");						
+			$("#meetings-transparent").removeAttr("disabled");
+			$("#decisions-voting").removeAttr("disabled");			
+		}
 	} 		 
 	else{
 		$('#'+id+'-checkbox').val('N');
@@ -62,6 +69,18 @@
 			$j('#other-license-website').hide();
 			$j('#infield-other-license-website').hide();
 		}
+		if(id=='gr'){
+			$("#decisions-general-assemblies").attr("disabled", "disabled");
+			$('#decisions-general-assemblies').attr('checked', false);
+			$("#decisions-consensus").attr("disabled", "disabled");
+			$('#decisions-consensus').attr('checked', false);
+			$("#representatives-democratically").attr("disabled", "disabled");
+			$('#representatives-democratically').attr('checked', false);			
+			$("#meetings-transparent").attr("disabled", "disabled");
+			$('#meetings-transparent').attr('checked', false);
+			$("#decisions-voting").attr("disabled", "disabled");
+			$('#decisions-voting').attr('checked', false);
+		}
 	}
 }
 
@@ -69,7 +88,7 @@
   var cat_id = "#mc-form-" + $id;
   $j(cat_id + ",#mc-form-icon-" + $id).click(
     function ()
-    {
+    {/*
     //  if ($id != "rc") {
 	$j(cat_id).addClass("mc-form-descbox-selected");
 	$j("#mc-cat-selected-"+ $id).slideDown();
@@ -80,7 +99,7 @@
       $j("#mc-form-less-link-" + $id2).hide();
       //      $j("#mc-form-" + $id).removeAttr("title");
       //      $j("#mc-form-" + $id2).attr("title", click_to_select);
-      $j("#mc-form-more-text-" + $id2).slideUp(function() {adjustHeights();});
+      $j("#mc-form-more-text-" + $id2).slideUp(function() {adjustHeights();});*/
       if (cat_id == "#mc-form-rc") {
     	  //$j("#mc-cat-rc-options").slideDown(function() {adjustHeights();});
     	  mc_rc="0";
@@ -298,16 +317,16 @@
   //hover_more_link(nid);
   //hover_less_link(nid);
   //hover_less_link(nid);
-  hide_initial($id);
-  hide_initial(nid);
-  click_more_link($id);
-  click_more_link(nid);
-  click_less_link($id);
-  click_less_link(nid);
+  //hide_initial($id);
+  //hide_initial(nid);
+  //click_more_link($id);
+  //click_more_link(nid);
+  //click_less_link($id);
+  //click_less_link(nid);
   select_cat($id, nid);
   select_cat(nid, $id);
-  hover_cat($id);
-  hover_cat(nid);
+  //hover_cat($id);
+  //hover_cat(nid);
   // dclick_toggle($id);
   // dclick_toggle(nid);
 };
@@ -378,9 +397,9 @@
 
 /*conf_link("np");
 conf_link("rp");
-conf_link("rc");
+conf_link("rc");*/
 conf_link("gr");
-//select_area("ec");
+/*select_area("ec");
 select_area("bo");
 select_area("to");
 select_area("di");*/




More information about the Movecommons-commits mailing list