Fix error when using assets_url setting (#4182)
This commit is contained in:
parent
5d66218cfc
commit
ffb61b8649
1 changed files with 2 additions and 2 deletions
|
@ -48,8 +48,8 @@ function rcube_calendar(settings)
|
||||||
// load calendar UI (scripts and edit dialog template)
|
// load calendar UI (scripts and edit dialog template)
|
||||||
if (!this.ui_loaded) {
|
if (!this.ui_loaded) {
|
||||||
$.when(
|
$.when(
|
||||||
$.getScript('./plugins/calendar/calendar_ui.js'),
|
$.getScript(rcmail.assets_path('plugins/calendar/calendar_ui.js')),
|
||||||
$.getScript('./plugins/calendar/lib/js/fullcalendar.js'),
|
$.getScript(rcmail.assets_path('plugins/calendar/lib/js/fullcalendar.js')),
|
||||||
$.get(rcmail.url('calendar/inlineui'), function(html){ $(document.body).append(html); }, 'html')
|
$.get(rcmail.url('calendar/inlineui'), function(html){ $(document.body).append(html); }, 'html')
|
||||||
).then(function() {
|
).then(function() {
|
||||||
// disable attendees feature (autocompletion and stuff is not initialized)
|
// disable attendees feature (autocompletion and stuff is not initialized)
|
||||||
|
|
Loading…
Add table
Reference in a new issue