dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #19137
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 8232: Minor fix for Dashboard
------------------------------------------------------------
revno: 8232
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2012-09-24 21:44:12 +0700
message:
Minor fix for Dashboard
modified:
dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/dataEntryForm.vm
dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/commons.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/dataEntryForm.vm'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/dataEntryForm.vm 2012-09-21 07:44:44 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/dataEntryForm.vm 2012-09-24 14:44:12 +0000
@@ -38,7 +38,7 @@
#end
</div>
-<div id='inputCriteriaDiv' class="page inputCriteria" style="display:none;width:490px;height:29px;">
+<div id='inputCriteriaDiv' class="page inputCriteria hidden" style="width:490px;height:29px;">
<input type="button" class='button' id="completeBtn" value="$i18n.getString('complete')" onClick="doComplete()" disabled="disabled">
<input type="button" id="uncompleteBtn" value="$i18n.getString('incomplete')" onclick="doUnComplete()" disabled="disabled">
<input type="button" class='button' id="validationBtn" value="$i18n.getString('run_validation')" onClick="javascript: runValidation();" disabled="disabled">
@@ -56,5 +56,8 @@
jQuery("[id=executionDate]").prop('disabled', true);
jQuery("[id=executionDate]").datepicker("destroy");
#end
+ #if( $programStageInstance.executionDate)
+ showById('inputCriteriaDiv');
+ #end
</script>
=== modified file 'dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/commons.js'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/commons.js 2012-09-24 10:33:23 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/commons.js 2012-09-24 14:44:12 +0000
@@ -1590,7 +1590,6 @@
}
field.style.backgroundColor = SAVING_COLOR;
- programStageInstanceId = getFieldValue( 'programStageInstanceId' );
jQuery.postUTF8( 'sendSMS.action',
{
programStageInstanceId: programStageInstanceId,