dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #19051
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 8161: Interpretation minor fix
------------------------------------------------------------
revno: 8161
committer: Lars Helge Øverland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2012-09-20 14:00:28 +0200
message:
Interpretation minor fix
modified:
dhis-2/dhis-web/dhis-web-dashboard-integration/src/main/webapp/dhis-web-dashboard-integration/javascript/interpretation.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-dashboard-integration/src/main/webapp/dhis-web-dashboard-integration/javascript/interpretation.js'
--- dhis-2/dhis-web/dhis-web-dashboard-integration/src/main/webapp/dhis-web-dashboard-integration/javascript/interpretation.js 2012-05-31 21:51:26 +0000
+++ dhis-2/dhis-web/dhis-web-dashboard-integration/src/main/webapp/dhis-web-dashboard-integration/javascript/interpretation.js 2012-09-20 12:00:28 +0000
@@ -19,6 +19,8 @@
{
var text = $( "#commentArea" + uid ).val();
+ $( "#commentArea" + uid ).val( "" );
+
var url = "../api/interpretations/" + uid + "/comment";
var created = getCurrentDate();
@@ -37,8 +39,6 @@
"<div class=\"interpretationText\">${text}<\/div>";
$.tmpl( template, { "userId": currentUser.id, "userName": currentUser.name, created: created, text: text } ).appendTo( "#comments" + uid );
-
- $( "#commentArea" + uid ).val( "" );
}
} );
}