Fix jQuery date picker for newer jQuery versions
This commit is contained in:
parent
d4d69e8e3e
commit
1edf9b2b1b
@ -71,9 +71,9 @@ jqueryDayField jds = Field
|
|||||||
addStylesheet' urlJqueryUiCss
|
addStylesheet' urlJqueryUiCss
|
||||||
toWidget [julius|
|
toWidget [julius|
|
||||||
$(function(){
|
$(function(){
|
||||||
var i = $("##{theId}");
|
var i = document.getElementById("#{theId}");
|
||||||
if (i.attr("type") != "date") {
|
if (i.type != "date") {
|
||||||
i.datepicker({
|
$(i).datepicker({
|
||||||
dateFormat:'yy-mm-dd',
|
dateFormat:'yy-mm-dd',
|
||||||
changeMonth:#{jsBool $ jdsChangeMonth jds},
|
changeMonth:#{jsBool $ jdsChangeMonth jds},
|
||||||
changeYear:#{jsBool $ jdsChangeYear jds},
|
changeYear:#{jsBool $ jdsChangeYear jds},
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user