summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <machniak@kolabsys.com>2015-01-10 14:04:08 (GMT)
committerAleksander Machniak <machniak@kolabsys.com>2015-01-10 14:04:08 (GMT)
commitffb61b8649413a2da2d282f0408e79b7c82a86b5 (patch)
tree1dedbf1cc0a44bd70ae07e7e6f823bb8c5c5d67e
parent5d66218cfc8c6079327d08d9bf404743ce0dea8e (diff)
downloadroundcubemail-plugins-kolab-ffb61b8649413a2da2d282f0408e79b7c82a86b5.tar.gz
Fix error when using assets_url setting (#4182)
-rw-r--r--plugins/calendar/calendar_base.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/calendar/calendar_base.js b/plugins/calendar/calendar_base.js
index 9ad27e3..3a5ef37 100644
--- a/plugins/calendar/calendar_base.js
+++ b/plugins/calendar/calendar_base.js
@@ -48,8 +48,8 @@ function rcube_calendar(settings)
// load calendar UI (scripts and edit dialog template)
if (!this.ui_loaded) {
$.when(
- $.getScript('./plugins/calendar/calendar_ui.js'),
- $.getScript('./plugins/calendar/lib/js/fullcalendar.js'),
+ $.getScript(rcmail.assets_path('plugins/calendar/calendar_ui.js')),
+ $.getScript(rcmail.assets_path('plugins/calendar/lib/js/fullcalendar.js')),
$.get(rcmail.url('calendar/inlineui'), function(html){ $(document.body).append(html); }, 'html')
).then(function() {
// disable attendees feature (autocompletion and stuff is not initialized)