dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #24319
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 11901: minor html/js fixes
------------------------------------------------------------
revno: 11901
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2013-09-04 10:11:01 +0200
message:
minor html/js fixes
modified:
dhis-2/dhis-web/dhis-web-importexport/src/main/webapp/dhis-web-importexport/eventExportForm.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-importexport/src/main/webapp/dhis-web-importexport/eventExportForm.vm'
--- dhis-2/dhis-web/dhis-web-importexport/src/main/webapp/dhis-web-importexport/eventExportForm.vm 2013-09-04 08:04:26 +0000
+++ dhis-2/dhis-web/dhis-web-importexport/src/main/webapp/dhis-web-importexport/eventExportForm.vm 2013-09-04 08:11:01 +0000
@@ -59,14 +59,13 @@
$( '#programs' ).attr('disabled', true);
}
- $( '#programs' ).html( options );
- $( '#programs' ).trigger('change');
+ $( '#programs' ).html( options ).trigger('change');
});
$( '#programs' ).on( 'change', function( e ) {
var program = $( '#programs' ).val();
- $( '#programStages' ).attr('disabled', true);
- $( '#programStages' ).html($( '<option/>' ).html('$i18n.getString( "no_program_stages_available" )'));
+ $( '#programStages' ).attr('disabled', true)
+ .html($( '<option/>' ).html('$i18n.getString( "no_program_stages_available" )'));
$.ajax({
url: '../api/programs/' + program + '.json'
@@ -93,8 +92,10 @@
<div id="inputCriteria" class="inputCriteria" style="width: 730px;">
<form id="importForm" name="importForm" method="post" enctype="multipart/form-data" action="importMetaData.action">
<table>
-<col width="140">
-<col>
+ <colgroup>
+ <col style="width: 150px;" />
+ <col />
+ </colgroup>
<tr>
<td colspan="2">$i18n.getString( "organisation_unit" )</td>