Commit info for scoop/lib/Scoop/Admin:

Modified Files:
	AdminStories.pm 
Log Message:
Bug #33. Spellchecker forgets setting.
--hulver


Index: AdminStories.pm
===================================================================
RCS file: /cvs/scoop/scoop/lib/Scoop/Admin/AdminStories.pm,v
retrieving revision 1.138
retrieving revision 1.139
diff -r1.138 -r1.139
842,843c842,846
< 		my $check = ($params->{spellcheck} || $S->spellcheck_default())
< 			? ' CHECKED' : '';
---
> 		# We will only have a formkey if they have already used the submit form.
> 		# We only want to set the default spellcheck the first time they submit
> 		# We don't want to override the setting.
> 		$params->{spellcheck} = $S->spellcheck_default() unless ($S->{CGI}->param('formkey'));
> 		my $check = ($params->{spellcheck}) ? ' CHECKED' : '';