← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 5596: Date picker input fields set to read only

 

------------------------------------------------------------
revno: 5596
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Sun 2011-12-25 18:58:11 +0100
message:
  Date picker input fields set to read only
modified:
  dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/commons.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-commons-resources/src/main/webapp/dhis-web-commons/javascripts/commons.js'
--- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/commons.js	2011-12-23 18:01:04 +0000
+++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/commons.js	2011-12-25 17:58:11 +0000
@@ -965,8 +965,8 @@
 		}
 	});
 
-	jQuery( "#" + startdate ).attr("disabled", true );
-	jQuery( "#" + enddate ).attr("disabled", true );
+	jQuery( "#" + startdate ).attr("readonly", true );
+	jQuery( "#" + enddate ).attr("readonly", true );
 
     $("#ui-datepicker-div").hide();
 }