dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #16168
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 6076: (patient) Minor fix.
------------------------------------------------------------
revno: 6076
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2012-02-22 16:14:13 +0700
message:
(patient) Minor fix.
modified:
dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/entry.js
dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/singleEventReport.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-caseentry/src/main/webapp/dhis-web-caseentry/javascript/entry.js'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/entry.js 2012-02-20 07:12:39 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/entry.js 2012-02-22 09:14:13 +0000
@@ -717,16 +717,13 @@
{
jQuery("#dataEntryFormDiv :input").each(function()
{
+ disable( jQuery(this).attr('id') );
+ });
+
+ jQuery("#dataEntryFormDiv").find(".ui-button").each(function()
+ {
jQuery(this).attr('disabled', 'disabled');
});
- jQuery("#dataEntryFormDiv").find(".ui-datepicker-trigger").each(function()
- {
- jQuery(this).attr('class', 'hidden');
- });
- jQuery("#dataEntryFormDiv").find(".holder").each(function()
- {
- jQuery(this).attr('class', 'visible');
- });
disable('validationBtn');
disable('completeBtn');
=== modified file 'dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/singleEventReport.js'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/singleEventReport.js 2012-02-11 13:58:02 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/singleEventReport.js 2012-02-22 09:14:13 +0000
@@ -58,14 +58,13 @@
}
function showDetails( programStageInstanceId )
-{
- $('#viewRecordsDiv' )
-
+{
$( '#viewRecordsDiv' )
.load( 'viewAnonymousEvents.action?programStageInstanceId=' + programStageInstanceId ,{}
,function( )
{
showById('entryFormContainer');
+ $("#entryForm :input").attr("disabled", true);
}).dialog({
title: i18n_reports,
maximize: true,