summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2015-04-14 15:31:54 +0200
committerThomas Bruederli <thomas@roundcube.net>2015-04-14 15:32:01 +0200
commitca8cfd86546e8c222205c77ca1e6c91c09f01305 (patch)
tree9db8ea6d640db40dfe67cd6674af0354805c2594
parentfa857716e66f73f979e4a798a8c4e91c7612a7d1 (diff)
Don't load jquery UI scripts twice
-rw-r--r--plugins/jqueryui/jqueryui.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/jqueryui/jqueryui.php b/plugins/jqueryui/jqueryui.php
index 006164c69..7853d0993 100644
--- a/plugins/jqueryui/jqueryui.php
+++ b/plugins/jqueryui/jqueryui.php
@@ -23,7 +23,7 @@ class jqueryui extends rcube_plugin
$rcmail = rcmail::get_instance();
// the plugin might have been force-loaded so do some sanity check first
- if ($rcmail->output->type != 'html') {
+ if ($rcmail->output->type != 'html' || self::$ui_theme) {
return;
}