=== 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 2013-02-28 06:45:35 +0000 +++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/commons.js 2013-02-28 08:20:24 +0000 @@ -873,8 +873,7 @@ monthNamesShort: monthNames, dayNamesMin: dayNamesMin, showOn: 'both', - buttonImage: '../images/calendar.png', - buttonImageOnly: true, + createButton: false, constrainInput: true, yearRange: '-100:+100' }); @@ -895,9 +894,7 @@ changeYear: true, monthNamesShort: monthNames, dayNamesMin: dayNamesMin, - showOn: 'both', - buttonImage: '../images/calendar.png', - buttonImageOnly: true, + createButton: false, constrainInput: true, yearRange: '-100:+100' }); @@ -922,8 +919,6 @@ changeYear: true, monthNamesShort: monthNames, dayNamesMin: dayNamesMin, - showOn: 'both', - buttonImage: '../images/calendar.png', buttonImageOnly: true, constrainInput: true, yearRange: '-100:+100' @@ -947,9 +942,7 @@ changeYear: true, monthNamesShort: monthNames, dayNamesMin: dayNamesMin, - showOn: 'both', - buttonImage: '../images/calendar.png', - buttonImageOnly: true, + createButton: false, maxDate: '+0d +0w', constrainInput: true, yearRange: '-100:+100' @@ -979,9 +972,7 @@ changeYear: true, monthNamesShort: monthNames, dayNamesMin: dayNamesMin, - showOn: 'both', - buttonImage: '../images/calendar.png', - buttonImageOnly: true, + createButton: false, minDate: '+0d +0w', constrainInput: true, yearRange: '-100:+100' @@ -1028,9 +1019,7 @@ monthNamesShort: monthNames, dayNamesMin: dayNamesMin, showAnim: '', - showOn: 'both', - buttonImage: '../images/calendar.png', - buttonImageOnly: true, + createButton: false, constrainInput: true, yearRange: '-100:+100', onSelect: function(selectedDate) @@ -1068,14 +1057,11 @@ changeMonth: true, changeYear: true, numberOfMonths: 1, - maxDate: '+0d +0w', monthNamesShort: monthNames, dayNamesMin: dayNamesMin, showAnim: '', - showOn: 'both', - buttonImage: '../images/calendar.png', - buttonImageOnly: true, + createButton: false, constrainInput: true, yearRange: '-100:+100', onSelect: function(selectedDate)