← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 8377: Remove unused js-methods and files in program-tracking module.

 

------------------------------------------------------------
revno: 8377
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Fri 2012-10-05 09:24:05 +0700
message:
  Remove unused js-methods and files in program-tracking module.
removed:
  dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/sendSmsForm.vm
modified:
  dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/programTrackingSelect.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/webapp/dhis-web-caseentry/programTrackingSelect.vm'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/programTrackingSelect.vm	2012-10-04 15:38:22 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/programTrackingSelect.vm	2012-10-05 02:24:05 +0000
@@ -14,6 +14,7 @@
 		jQuery("#searchObjectId").prepend('<option value="-100">' + i18n_please_select_criteria + '</option>');
 		jQuery("#searchObjectId [value=]").attr("selected","selected");
 		hideById('addPatientBtn');
+		hideById('searchBySelectedUnitTD');
 		disable('advancedSearchBtn');
 		setFieldValue('searchByProgramStage', 'true');
 		setFieldValue('hideLink', 'true');

=== removed file 'dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/sendSmsForm.vm'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/sendSmsForm.vm	2012-09-23 11:52:27 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/sendSmsForm.vm	1970-01-01 00:00:00 +0000
@@ -1,33 +0,0 @@
-<script type="text/javascript">
-	jQuery(document).ready(	function(){
-		$('#tabs').tabs();
-		validation( 'sendSMSForm', function(form){
-			sendSMS();
-		});
-	});
-</script>
-
-<form id="sendSMSForm" name="sendSMSForm" action="sendSMS.action">
-	<table>
-		<tbody>
-			<tr>
-				<td>$i18n.getString( "message" )</td>
-				<td><textarea id="smsMessage" name="smsMessage" style="width:260px;height:100px;" class="{validate:{required:true,maxlength:160}}"></textarea></td>
-			</tr>
-			<tr>
-				<td></td>
-				<td>
-					<input type="submit" value="$i18n.getString( 'send_sms' )"/>
-					<input type="button" value="$i18n.getString( 'cancel' )" onclick="jQuery('#sendSmsFormDiv').dialog('close')"/>
-				</td>
-			</tr>
-			
-		</tbody>
-	</table>
-</form>
-<div class='hidden'>
-	<input type='hidden' id='currentDate'>
-	<script>
-		datePickerValid( 'currentDate', true );
-	</script>
-</div>
\ No newline at end of file