dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #04036
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 1336: Applied html encoding to numerator/denominator description gui
------------------------------------------------------------
revno: 1336
committer: Lars Helge Oeverland <larshelge@xxxxxxxxx>
branch nick: trunk
timestamp: Mon 2010-01-25 15:14:57 +0100
message:
Applied html encoding to numerator/denominator description gui
modified:
dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-datadictionary/src/main/webapp/dhis-web-maintenance-datadictionary/javascript/denum.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-datadictionary/src/main/webapp/dhis-web-maintenance-datadictionary/javascript/denum.js'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-datadictionary/src/main/webapp/dhis-web-maintenance-datadictionary/javascript/denum.js 2009-12-02 13:19:53 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-datadictionary/src/main/webapp/dhis-web-maintenance-datadictionary/javascript/denum.js 2010-01-25 14:14:57 +0000
@@ -129,7 +129,7 @@
enableRadioGroup( "aggregationOperator" );
var formula = document.getElementById( "formula" ).value;
- var description = document.getElementById( "description" ).value;
+ var description = htmlEncode( document.getElementById( "description" ).value );
var aggregationOperator = getSelectedRadioValue( "aggregationOperator" );
var type = htmlEncode( document.getElementById( "type" ).value );