Ignore:
Timestamp:
01/13/09 07:08:44 (3 years ago)
Author:
KennethLavrsen
Message:

Item736: Comment plugin doesn't know about Compare Revisions
Making CommentPlugin know about its popular cousin and threat it same was as rdiff
Thanks to Timothe Litt for this small fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CommentPlugin/lib/Foswiki/Plugins/CommentPlugin.pm

    r1340 r1952  
    1212use vars qw( $VERSION $RELEASE $SHORTDESCRIPTION $NO_PREFS_IN_TOPIC ); 
    1313 
    14 our $VERSION = '$Rev: 15788 $'; 
    15 our $RELEASE = 'Foswiki-1.0.0'; 
     14our $VERSION = '$Rev$'; 
     15our $RELEASE = 'Foswiki-1.0.1'; 
    1616our $SHORTDESCRIPTION = 'Quickly post comments to a page without an edit/preview/save cycle'; 
    1717our $NO_PREFS_IN_TOPIC = 1; 
     
    3535    my $scriptname = $ENV{'SCRIPT_NAME'} || ''; 
    3636    # SMELL: unreliable 
    37     my $previewing = ($scriptname =~ /\/(preview|gnusave|rdiff)/); 
     37    my $previewing = ($scriptname =~ /\/(preview|gnusave|rdiff|compare)/); 
    3838    Foswiki::Plugins::CommentPlugin::Comment::prompt( $previewing, 
    3939                                                    $_[0], $web, $topic ); 
Note: See TracChangeset for help on using the changeset viewer.