Skip to content

Commit

Permalink
Item10123: Disable buttons for static context
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.foswiki.org/trunk@10188 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
GeorgeClark authored and GeorgeClark committed Dec 6, 2010
1 parent 721c570 commit 3146fd8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions EditRowPlugin/lib/Foswiki/Plugins/EditRowPlugin.pm
Expand Up @@ -61,6 +61,7 @@ sub _process {

my $context = Foswiki::Func::getContext();
return 0 unless $context->{view};
return 0 if $context->{static};

unless ($RECURSING) {
my $header = "<script type='text/javascript' src='";
Expand Down

0 comments on commit 3146fd8

Please sign in to comment.