← Back to team overview

dhis2-devs team mailing list archive

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

 

------------------------------------------------------------
revno: 13376
committer: Lars Helge Øverland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Sat 2013-12-21 21:56:46 +0100
message:
  Minor
modified:
  dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/javascript/form.js


--
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-dataentry/src/main/webapp/dhis-web-dataentry/javascript/form.js'
--- dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/javascript/form.js	2013-12-21 20:44:52 +0000
+++ dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/javascript/form.js	2013-12-21 20:56:46 +0000
@@ -1399,9 +1399,8 @@
 		return html;
 	}
 	
-	html = '<div class="selectionBoxRow">';
-	
 	$.safeEach( categoryCombos, function( idx, combo ) {
+		html += '<div class="selectionBoxRow">';
 		html += '<div class="selectionLabel">' + combo.name + '</div>';
 		html += '<select id="combo-' + combo.id + '" class="selectionBoxSelect">';
 		
@@ -1411,9 +1410,9 @@
 		} );
 		
 		html += '</select>';
+		html += '</div>';
 	} );
 
-	html += '</div>';
 	return html;
 }