← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 1813: Resolved annoying ognl exception. https://bugs.launchpad.net/bugs/568335

 

------------------------------------------------------------
revno: 1813
committer: Bob Jolliffe <bobj@bobj-laptop>
branch nick: trunk
timestamp: Mon 2010-04-26 12:02:56 +0100
message:
  Resolved annoying ognl exception. https://bugs.launchpad.net/bugs/568335  
  
  The dataentryform validation function was sending TextArea without url-encoding it. The validation action did not use TextArea
  anyway so simply removed it.
modified:
  dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/webapp/dhis-web-maintenance-dataset/javascript/dataEntryForm.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/dataEntryForm.js'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/webapp/dhis-web-maintenance-dataset/javascript/dataEntryForm.js	2009-03-03 16:46:36 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/webapp/dhis-web-maintenance-dataset/javascript/dataEntryForm.js	2010-04-26 11:02:56 +0000
@@ -62,9 +62,6 @@
 
   params += '&dataSetId=' + document.getElementById( 'dataSetIdField' ).value;
     
-  var htmlCode = document.getElementById( 'designTextarea' ).value;
-  params += '&designCode=' + htmlCode;
-  
   request.sendAsPost( params );
   request.send( requestString );