← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 11978: Fixed bug, callback methods in custom forms must also be present in data set report

 

------------------------------------------------------------
revno: 11978
committer: Lars Helge Øverland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2013-09-09 10:02:52 +0200
message:
  Fixed bug, callback methods in custom forms must also be present in data set report
modified:
  dhis-2/dhis-web/dhis-web-reporting/src/main/webapp/dhis-web-reporting/javascript/dataSetReport.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-reporting/src/main/webapp/dhis-web-reporting/javascript/dataSetReport.js'
--- dhis-2/dhis-web/dhis-web-reporting/src/main/webapp/dhis-web-reporting/javascript/dataSetReport.js	2013-05-03 15:06:31 +0000
+++ dhis-2/dhis-web/dhis-web-reporting/src/main/webapp/dhis-web-reporting/javascript/dataSetReport.js	2013-09-09 08:02:52 +0000
@@ -223,3 +223,17 @@
 	    } );
     }
 }
+
+//------------------------------------------------------------------------------
+// Hooks in custom forms - must be present to avoid errors in forms
+//------------------------------------------------------------------------------
+
+function onValueSave( fn )
+{
+	// Do nothing
+}
+
+function onFormLoad( fn )
+{
+	// Do nothing
+}