← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 10714: Removed unused code

 

------------------------------------------------------------
revno: 10714
committer: Lars Helge Øverland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2013-04-30 10:12:53 +0200
message:
  Removed unused code
modified:
  dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-datadictionary/src/main/webapp/dhis-web-maintenance-datadictionary/javascript/dataElementGroupSet.js
  dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-datadictionary/src/main/webapp/dhis-web-maintenance-datadictionary/updateDataElementGroupSet.vm


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-datadictionary/src/main/webapp/dhis-web-maintenance-datadictionary/javascript/dataElementGroupSet.js'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-datadictionary/src/main/webapp/dhis-web-maintenance-datadictionary/javascript/dataElementGroupSet.js	2012-02-24 08:21:11 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-datadictionary/src/main/webapp/dhis-web-maintenance-datadictionary/javascript/dataElementGroupSet.js	2013-04-30 08:12:53 +0000
@@ -11,30 +11,7 @@
 }
 
 // -----------------------------------------------------------------------------
-// Validate Add Data Element Group
-// -----------------------------------------------------------------------------
-
-function validateAddDataElementGroupSet()
-{
-   $.post( 'validateDataElementGroupSet.action',{name:getFieldValue( "name" )}
-		, function( messageElement ) 
-		{
-			messageElement = messageElement.getElementsByTagName( 'message' )[0];
-			var type = messageElement.getAttribute( "type" );
-			if ( type == "success" )
-			{
-				selectAllById( "groupMembers" );
-				document.forms['addDataElementGroupSet'].submit();
-			} 
-			else
-			{
-				setMessage( messageElement.firstChild.nodeValue );
-			}
-		} );
-}
-
-// -----------------------------------------------------------------------------
-// Delete Data Element Group
+// Delete
 // -----------------------------------------------------------------------------
 
 function deleteDataElementGroupSet( groupSetId, groupSetName )

=== modified file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-datadictionary/src/main/webapp/dhis-web-maintenance-datadictionary/updateDataElementGroupSet.vm'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-datadictionary/src/main/webapp/dhis-web-maintenance-datadictionary/updateDataElementGroupSet.vm	2013-02-04 15:02:10 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-datadictionary/src/main/webapp/dhis-web-maintenance-datadictionary/updateDataElementGroupSet.vm	2013-04-30 08:12:53 +0000
@@ -101,5 +101,3 @@
 </p>
 
 </form>
-
-<span id='message'></span>