summaryrefslogtreecommitdiff
path: root/plugins/kolab_notes
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2014-12-16 13:12:21 (GMT)
committerThomas Bruederli <bruederli@kolabsys.com>2014-12-16 13:12:21 (GMT)
commit0e0f1443a6f7ca4ea66cd079bdcd75b11d39a94f (patch)
tree011d8584bc23a92820d1ca6ac6251d94e81f23c9 /plugins/kolab_notes
parentfd7440bfc57c48d47c44aa6668b5e1a665e90ec9 (diff)
downloadroundcubemail-plugins-kolab-0e0f1443a6f7ca4ea66cd079bdcd75b11d39a94f.tar.gz
Replace check for js file with check if libkolab plugin is loaded (#4114)
Diffstat (limited to 'plugins/kolab_notes')
-rw-r--r--plugins/kolab_notes/kolab_notes_ui.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/kolab_notes/kolab_notes_ui.php b/plugins/kolab_notes/kolab_notes_ui.php
index 8c09989..c03ea2d 100644
--- a/plugins/kolab_notes/kolab_notes_ui.php
+++ b/plugins/kolab_notes/kolab_notes_ui.php
@@ -58,7 +58,7 @@ class kolab_notes_ui
$this->plugin->include_script('jquery.tagedit.js');
// include kolab folderlist widget if available
- if (is_readable($this->plugin->api->dir . 'libkolab/js/folderlist.js')) {
+ if (in_array('libkolab', $this->plugin->api->loaded_plugins())) {
$this->plugin->api->include_script('libkolab/js/folderlist.js');
}