diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2011-05-14 20:38:37 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2011-05-14 20:38:37 +0000 |
| commit | 10dc5b4e0ac49c7aa43266857ddd99187d3c93ec (patch) | |
| tree | 9bf6743e104c54ffa4af92a0956a2fb93d443f29 /plugins/jqueryui/jqueryui.php | |
| parent | 9e9d73959c09cdfa4a5c50f29c6ac77f9cea17b9 (diff) | |
- Fix loading default theme css, set $noajax to skip plugin initialization on AJAX requests
git-svn-id: https://svn.roundcube.net/trunk@4770 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'plugins/jqueryui/jqueryui.php')
| -rw-r--r-- | plugins/jqueryui/jqueryui.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/jqueryui/jqueryui.php b/plugins/jqueryui/jqueryui.php index d3f2519db..fcfed9a4f 100644 --- a/plugins/jqueryui/jqueryui.php +++ b/plugins/jqueryui/jqueryui.php @@ -11,10 +11,12 @@ */ class jqueryui extends rcube_plugin { + public $noajax = true; + public function init() { $version = '1.8.12'; - + $rcmail = rcmail::get_instance(); $this->load_config(); @@ -30,7 +32,7 @@ class jqueryui extends rcube_plugin $this->include_stylesheet("themes/$ui_theme/jquery-ui-$version.custom.css"); } else { - $this->include_stylesheet("themes/$ui_theme/jquery-ui-$version.custom.css"); + $this->include_stylesheet("themes/default/jquery-ui-$version.custom.css"); } // jquery UI localization @@ -50,5 +52,3 @@ class jqueryui extends rcube_plugin } } - -?> |
