Ignore:
Timestamp:
06/08/10 12:44:33 (3 years ago)
Author:
CrawfordCurrie
Message:

Item2297: this started with trying to get the latest TMCE working with 1.0.9. First, there's no need for a required dependency on ZonePlugin, as long as the reporting of *why* JQueryPlugins don't work is clear. Second, the checking for zone capability is *not* dependent on the plugin, but the availability of the addToZone function. Third, the JQueryPlugin doc needed some work, and still needs more to clarify the role of the macros it registers (why are these not registered as and when plugins are enabled?) Fourth, TMCE now requires jQuery, which requires addToZone, so it can safely add itself to the body. Finally, a minor improvement to the reporting of initPlugin failures. The upshot of this all is that TinyMCE + jQuery + ZonePlugin, latest trunk versions, works with 1.0.9 and 1.1.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/core/lib/Foswiki/Plugin.pm

    r7591 r7692  
    248248    unless ($status) { 
    249249        if ( !$exception ) { 
    250             $exception = $sub . ' did not return true'; 
     250            $exception = <<MESSAGE; 
     251$sub did not return true. 
     252Check your Foswiki warning and error logs for more information. 
     253MESSAGE 
    251254        } 
    252255        push( @{ $this->{errors} }, $exception ); 
Note: See TracChangeset for help on using the changeset viewer.