← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 1400: fixed can't add dataelement to dataset when create/edit

 

------------------------------------------------------------
revno: 1400
committer: Tran Thanh Tri <Tran Thanh Tri@compaq>
branch nick: trunk
timestamp: Fri 2010-02-05 20:16:30 +0700
message:
  fixed can't add dataelement to dataset when create/edit
modified:
  dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/webapp/dhis-web-maintenance-dataset/javascript/dataSet.js


--
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-dataset/src/main/webapp/dhis-web-maintenance-dataset/javascript/dataSet.js'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/webapp/dhis-web-maintenance-dataset/javascript/dataSet.js	2009-10-06 08:16:57 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/webapp/dhis-web-maintenance-dataset/javascript/dataSet.js	2010-02-05 13:16:30 +0000
@@ -126,6 +126,7 @@
   if ( type == 'success' )
   {
       // Both edit and add form has id='dataSetForm'      
+	  selectAllById('selectedList');
       document.forms['addDataSetForm'].submit();
   }
   /**
@@ -165,6 +166,7 @@
   if ( type == 'success' )
   {
       // Both edit and add form has id='dataSetForm'
+	  selectAllById('selectedList');
       document.forms['editDataSetForm'].submit();
   }
   /**