Skip to content

Commit

Permalink
Item12952: wirth seeing if there's *any* version installed
Browse files Browse the repository at this point in the history
  • Loading branch information
crawford committed Aug 28, 2014
1 parent d0aec8e commit 18529c9
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ sub check {
my $e = '';
my $jqversion = $Foswiki::cfg{JQueryPlugin}{JQueryVersion};

if ( !$jqversion ) {
return $this->ERROR(<<'MESSAGE');
There is no configured jQuery version
MESSAGE
}

if ( $jqversion =~ /^jquery-(\d+)\.(\d+)/ && defined $1
and ( $1 * 1000 + $2 ) <= 1003 )
{
Expand Down

0 comments on commit 18529c9

Please sign in to comment.