dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #20233
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 9156: Remove complete-and-add-new and Remove buttons in below of anonymous data entry form.
------------------------------------------------------------
revno: 9156
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Sat 2012-12-01 12:26:10 +0700
message:
Remove complete-and-add-new and Remove buttons in below of anonymous data entry form.
modified:
dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/anonymousRegistration.vm
dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/anonymousRegistration.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/anonymousRegistration.vm'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/anonymousRegistration.vm 2012-11-15 15:58:10 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/anonymousRegistration.vm 2012-12-01 05:26:10 +0000
@@ -125,10 +125,12 @@
</table>
<div id='dataEntryFormDiv'></div>
- <div id='actionDiv' class="page inputCriteria" style="width:580px;height:29px;">
+ <div id='actionDiv' class="page inputCriteria" style="width:700px;height:29px;">
+ <input type="button" onclick="completedAndAddNewEvent();" value="$i18n.getString('complete_and_add_new_event')" id="completeBtn" style="width:150px;">
<input type="button" onclick="doComplete()" value="$i18n.getString('complete')" id="completeBtn">
<input type="button" onclick="doUnComplete()" value="$i18n.getString('incomplete')" id="uncompleteBtn" >
<input type="button" value="$i18n.getString('run_validation')" onclick="javascript: runValidation();">
+ <input type="button" onclick="removeCurrentEvent();" value="$i18n.getString('remove')" id="completeBtn">
</div>
</div>
=== modified file 'dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/anonymousRegistration.js'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/anonymousRegistration.js 2012-11-15 03:47:43 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/anonymousRegistration.js 2012-12-01 05:26:10 +0000
@@ -371,7 +371,7 @@
{
hideById('dataEntryMenu');
showById('eventActionMenu');
- jQuery("[name=eventActionLink]").show();
+ jQuery("[name=eventActionLink]").hide();
hideById('selectDiv');
hideById('searchDiv');
hideById('listDiv');