Fix possible error on ajax request

pull/73/head
Aleksander Machniak 12 years ago
parent 9b8d22ebe1
commit 2a3e774c60

@ -109,6 +109,11 @@ class managesieve extends rcube_plugin
*/
function mail_task_handler()
{
// make sure we're not in ajax request
if ($this->rc->output->type != 'html') {
return;
}
// use jQuery for popup window
$this->require_plugin('jqueryui');

Loading…
Cancel
Save