Changeset 4770 in subversion


Ignore:
Timestamp:
May 14, 2011 4:38:37 PM (2 years ago)
Author:
alec
Message:
  • Fix loading default theme css, set $noajax to skip plugin initialization on AJAX requests
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/jqueryui/jqueryui.php

    r4715 r4770  
    1212class jqueryui extends rcube_plugin 
    1313{ 
     14  public $noajax = true; 
     15 
    1416  public function init() 
    1517  { 
    1618    $version = '1.8.12'; 
    17      
     19 
    1820    $rcmail = rcmail::get_instance(); 
    1921    $this->load_config(); 
     
    3133    } 
    3234    else { 
    33       $this->include_stylesheet("themes/$ui_theme/jquery-ui-$version.custom.css"); 
     35      $this->include_stylesheet("themes/default/jquery-ui-$version.custom.css"); 
    3436    } 
    3537 
     
    5153 
    5254} 
    53  
    54 ?> 
Note: See TracChangeset for help on using the changeset viewer.