← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 10690: Minor

 

------------------------------------------------------------
revno: 10690
committer: Lars Helge Øverland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2013-04-25 14:59:37 +0200
message:
  Minor
modified:
  dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-settings/src/main/webapp/dhis-web-maintenance-settings/systemEmailSettings.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-maintenance/dhis-web-maintenance-settings/src/main/webapp/dhis-web-maintenance-settings/systemEmailSettings.vm'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-settings/src/main/webapp/dhis-web-maintenance-settings/systemEmailSettings.vm	2013-04-25 09:07:24 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-settings/src/main/webapp/dhis-web-maintenance-settings/systemEmailSettings.vm	2013-04-25 12:59:37 +0000
@@ -3,8 +3,10 @@
 		validation2( 'emailSettingForm', function( form ) {
 			jQuery.postUTF8( 'setSystemEmailSettings.action', {
 				smtpHostName: getFieldValue( 'smtpHostName' ),
+				smtpPort: getFieldValue( 'smtpPort' ),
 				smtpUsername: getFieldValue( 'smtpUsername' ),
-				smtpPassword: getFieldValue( 'smtpPassword' )
+				smtpPassword: getFieldValue( 'smtpPassword' ),
+				smtpTls: getFieldValue( 'smtpTls' )
 			}, function( json ) {
 				if ( json.response == "success" ) {
 					setHeaderDelayMessage( json.message );
@@ -45,7 +47,7 @@
 <div class="setting"><input type="password" id="smtpPassword" name="smtpPassword" value="$!smtpPassword" autocomplete="off"/></div>
 
 <div class="setting">
-	<input type="checkbox" id="smtpTls" name="smtpTls"#if( $smtpTls ) checked="checked"#end>
+	<input type="checkbox" id="smtpTls" name="smtpTls" value="true"#if( $smtpTls ) checked="checked"#end>
 	<label for="smtpTls">$i18n.getString( "tls" )</label>
 </div>