mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-08 14:55:10 +02:00
Use window's jQuery to make it work
This commit is contained in:
@ -60,7 +60,7 @@ egw.extend('calendar', egw.MODULE_WND_LOCAL, function(_app, _wnd) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Get the preferences
|
// Get the preferences
|
||||||
$j(_input).datepicker(params);
|
_wnd.$j(_input).datepicker(params);
|
||||||
/*
|
/*
|
||||||
onClose: function(date_text, picker) {
|
onClose: function(date_text, picker) {
|
||||||
// Only update if there's a change - "" if no date selected
|
// Only update if there's a change - "" if no date selected
|
||||||
@ -102,7 +102,7 @@ egw.extend('calendar', egw.MODULE_WND_LOCAL, function(_app, _wnd) {
|
|||||||
var full = [];
|
var full = [];
|
||||||
for(var i in translate_fields)
|
for(var i in translate_fields)
|
||||||
{
|
{
|
||||||
var trans = jQuery.datepicker._defaults[i];
|
var trans = _wnd.jQuery.datepicker._defaults[i];
|
||||||
if(typeof trans === 'string')
|
if(typeof trans === 'string')
|
||||||
{
|
{
|
||||||
trans = egw().lang(trans);
|
trans = egw().lang(trans);
|
||||||
@ -134,7 +134,7 @@ egw.extend('calendar', egw.MODULE_WND_LOCAL, function(_app, _wnd) {
|
|||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
jQuery.datepicker.setDefaults(regional);
|
_wnd.jQuery.datepicker.setDefaults(regional);
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user