dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #30963
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 15744: Fixed bug - The sms cannot be sent from the tracker dashboard.
------------------------------------------------------------
revno: 15744
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2014-06-18 18:15:16 +0800
message:
Fixed bug - The sms cannot be sent from the tracker dashboard.
modified:
dhis-2/dhis-web/dhis-web-caseentry/src/main/java/org/hisp/dhis/caseentry/action/reminder/SendSmsAction.java
dhis-2/dhis-web/dhis-web-caseentry/src/main/resources/org/hisp/dhis/caseentry/i18n_module.properties
dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/visitSchedule.vm
--
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/java/org/hisp/dhis/caseentry/action/reminder/SendSmsAction.java'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/java/org/hisp/dhis/caseentry/action/reminder/SendSmsAction.java 2014-03-18 08:10:10 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/java/org/hisp/dhis/caseentry/action/reminder/SendSmsAction.java 2014-06-18 10:15:16 +0000
@@ -231,7 +231,7 @@
programInstance.setOutboundSms( outboundSmsList );
programInstanceService.updateProgramInstance( programInstance );
- message = i18n.getString( "message_is_sent" + " " + phoneNumbers );
+ message = i18n.getString( "message_is_sent" ) + " " + phoneNumbers;
return SUCCESS;
}
=== modified file 'dhis-2/dhis-web/dhis-web-caseentry/src/main/resources/org/hisp/dhis/caseentry/i18n_module.properties'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/resources/org/hisp/dhis/caseentry/i18n_module.properties 2014-06-11 14:32:45 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/resources/org/hisp/dhis/caseentry/i18n_module.properties 2014-06-18 10:15:16 +0000
@@ -610,7 +610,7 @@
section = Section
orgunit_registered = Organisation registered
users_in_orgunit_registered = Users in organisation registered
-message_is_sent = Message is sent.
+message_is_sent = Message is sent
enter_age_in_years = Enter age in years
send_to = Send to
table_layout = Layout
=== modified file 'dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/visitSchedule.vm'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/visitSchedule.vm 2014-03-03 13:13:56 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/visitSchedule.vm 2014-06-18 10:15:16 +0000
@@ -273,7 +273,7 @@
<tr>
<td></td>
<td>
- <input type='button' value="$i18n.getString('send')" onclick="var id=getFieldValue('programStageInstanceId');if(getFieldValue('sendFromEvent')=='false'){id=$programInstance.id};sendSmsOneEntityInstance(byId('smsField'),id );">
+ <input type='button' value="$i18n.getString('send')" onclick="var id=getFieldValue('programStageInstanceId');if(getFieldValue('sendFromEvent')=='false'){id=$programInstance.id};sendSmsOneTrackedEntityInstance(byId('smsField'),id );">
<input type='button' value="$i18n.getString('cancel')" onclick="jQuery('#smsDiv').dialog('close');">
</td>
</tr>