Skip to content

Commit 56e1724

Browse files
author
dorgan@donaldorgan.com
committed
Quick tweak to stop datepicker from showing on disabled datepickers
1 parent d852d2c commit 56e1724

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/androLib.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15163,7 +15163,7 @@ function hDetailFromAHCols($ahcols,$name,$tabindex,$display='') {
1516315163
if ($ahcol['type_id'] == 'date') {
1516415164
jqDocReady( "$('input[data-date-format]').each(
1516515165
function() {
15166-
if ($(this).attr('readonly') == '') {
15166+
if (typeof($(this).attr('readonly')) == 'undefined') {
1516715167
$(this).datepicker().on('changeDate',function() {
1516815168
$(this).datepicker('hide');
1516915169
});

0 commit comments

Comments
 (0)