dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #21136
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 9925: Hide calendar-icon when to call datePickerInRange.
------------------------------------------------------------
revno: 9925
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2013-02-28 15:20:24 +0700
message:
Hide calendar-icon when to call datePickerInRange.
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 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)