dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #13166
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 4166: Ajax Request stuff don't work does not work with IE9.
------------------------------------------------------------
revno: 4166
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2011-07-19 16:32:47 +0700
message:
Ajax Request stuff don't work does not work with IE9.
modified:
dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/ouwt/ouwt.js
dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/updatePatientForm.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-commons-resources/src/main/webapp/dhis-web-commons/ouwt/ouwt.js'
--- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/ouwt/ouwt.js 2011-07-19 09:17:01 +0000
+++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/ouwt/ouwt.js 2011-07-19 09:32:47 +0000
@@ -71,13 +71,13 @@
$linkTag.addClass( "selected" );
} else
{
- $.post( organisationUnitTreePath + "setorgunit.action", {
- id : unitId
- }, function( data )
- {
- responseReceived( data.firstChild );
- }, 'xml' );
-
+ $.ajax({
+ type: "POST",
+ url: organisationUnitTreePath + "setorgunit.action?id=" + unitId,
+ dataType: "xml",
+ success: responseReceived
+ });
+
$( "#orgUnitTree" ).find( "a" ).removeClass( "selected" );
$linkTag.addClass( "selected" );
}
=== modified file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/updatePatientForm.vm'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/updatePatientForm.vm 2011-07-19 03:48:05 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/updatePatientForm.vm 2011-07-19 09:32:47 +0000
@@ -64,13 +64,12 @@
<tr><td></td><td>$!systemIdentifier</td></tr>
<tr><td> </td></tr>
<tr>
+ <th colspan="2" class="heading-column">$i18n.getString( "demographics" )</th>
+ </tr>
+ <tr>
<td><label for="fullName">$i18n.getString( "full_name" )</label></td>
<td class="input-column" ><input type="text" id="fullName" name="fullName" value="$encoder.htmlEncode( $patient.getFullName() )" style="width:30em" class="required_group {validate:{required_group:true, unicodechars:true, rangelength:[7,50]}}"></td>
</tr>
- <tr><td> </td></tr>
- <tr>
- <th colspan="2" class="heading-column">$i18n.getString( "demographics" )</th>
- </tr>
<tr>
<td><label for="gender">$i18n.getString( "gender" )<em title="$i18n.getString( "required" )" class="required">*</em></label></td>
<td class="input-column" >