summaryrefslogtreecommitdiff
path: root/plugins/kolab_notes
diff options
context:
space:
mode:
authorAleksander Machniak <machniak@kolabsys.com>2015-01-08 15:19:53 (GMT)
committerAleksander Machniak <machniak@kolabsys.com>2015-01-08 15:19:53 (GMT)
commiteab95ffdc2f7ad8636fc182e7e3a45a1b9a30879 (patch)
tree0e8c0aaa8a5e9819507e9c65fbebffd63f61a0ca /plugins/kolab_notes
parent0efcfbfa07ffcdd7d9af186f84300a21cb2451bb (diff)
downloadroundcubemail-plugins-kolab-eab95ffdc2f7ad8636fc182e7e3a45a1b9a30879.tar.gz
Use tagedit from jqueryui plugin (#3912)
Diffstat (limited to 'plugins/kolab_notes')
-rw-r--r--plugins/kolab_notes/composer.json3
l---------plugins/kolab_notes/jquery.tagedit.js1
-rw-r--r--plugins/kolab_notes/kolab_notes_ui.php5
l---------plugins/kolab_notes/skins/larry/tagedit.css1
4 files changed, 4 insertions, 6 deletions
diff --git a/plugins/kolab_notes/composer.json b/plugins/kolab_notes/composer.json
index 2ebb4ef..fd8005c 100644
--- a/plugins/kolab_notes/composer.json
+++ b/plugins/kolab_notes/composer.json
@@ -21,6 +21,7 @@
"require": {
"php": ">=5.3.0",
"roundcube/plugin-installer": ">=0.1.3",
- "kolab/libkolab": ">=1.1.0"
+ "kolab/libkolab": ">=1.1.0",
+ "roundcube/jqueryui": ">=1.10.4"
}
}
diff --git a/plugins/kolab_notes/jquery.tagedit.js b/plugins/kolab_notes/jquery.tagedit.js
deleted file mode 120000
index 6bb782c..0000000
--- a/plugins/kolab_notes/jquery.tagedit.js
+++ /dev/null
@@ -1 +0,0 @@
-../tasklist/jquery.tagedit.js \ No newline at end of file
diff --git a/plugins/kolab_notes/kolab_notes_ui.php b/plugins/kolab_notes/kolab_notes_ui.php
index c03ea2d..6cec3b9 100644
--- a/plugins/kolab_notes/kolab_notes_ui.php
+++ b/plugins/kolab_notes/kolab_notes_ui.php
@@ -55,15 +55,14 @@ class kolab_notes_ui
$this->rc->output->include_script('list.js');
$this->rc->output->include_script('treelist.js');
$this->plugin->include_script('notes.js');
- $this->plugin->include_script('jquery.tagedit.js');
+
+ jqueryui::tagedit();
// include kolab folderlist widget if available
if (in_array('libkolab', $this->plugin->api->loaded_plugins())) {
$this->plugin->api->include_script('libkolab/js/folderlist.js');
}
- $this->plugin->include_stylesheet($this->plugin->local_skin_path() . '/tagedit.css');
-
// load config options and user prefs relevant for the UI
$settings = array(
'sort_col' => $this->rc->config->get('kolab_notes_sort_col', 'changed'),
diff --git a/plugins/kolab_notes/skins/larry/tagedit.css b/plugins/kolab_notes/skins/larry/tagedit.css
deleted file mode 120000
index f25378f..0000000
--- a/plugins/kolab_notes/skins/larry/tagedit.css
+++ /dev/null
@@ -1 +0,0 @@
-../../../tasklist/skins/larry/tagedit.css \ No newline at end of file