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
|
||||
toWidget [julius|
|
||||
$(function(){
|
||||
var i = $("##{theId}");
|
||||
if (i.attr("type") != "date") {
|
||||
i.datepicker({
|
||||
var i = document.getElementById("#{theId}");
|
||||
if (i.type != "date") {
|
||||
$(i).datepicker({
|
||||
dateFormat:'yy-mm-dd',
|
||||
changeMonth:#{jsBool $ jdsChangeMonth jds},
|
||||
changeYear:#{jsBool $ jdsChangeYear jds},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user