more bug fixes
This commit is contained in:
parent
78274f1910
commit
c03e4f67dc
4 changed files with 19 additions and 0 deletions
|
|
@ -15,6 +15,8 @@
|
|||
not get their properties copied from the previous revision.
|
||||
- Set the rich editor to use a bigger font by default if no style sheet
|
||||
specifically setting it was called.
|
||||
- fix [ 1256549 ] Users are allowed to set url to extras or uploads
|
||||
- fix [ 1262505 ] Unable to edit group info
|
||||
|
||||
|
||||
6.7.0
|
||||
|
|
|
|||
|
|
@ -269,6 +269,17 @@ Any text string. Most likely will have been the Asset's name or title.
|
|||
sub fixUrl {
|
||||
my $self = shift;
|
||||
my $url = WebGUI::URL::urlize(shift);
|
||||
my @badUrls = ($session{config}{extrasURL}, $session{config}{uploadsURL});
|
||||
foreach my $badUrl (@badUrls) {
|
||||
if ($badUrl =~ /^http/) {
|
||||
$badUrl =~ s/^http.*\/(.*)$/$1/;
|
||||
} else {
|
||||
$badUrl =~ s/^\/(.*)/$1/;
|
||||
}
|
||||
if ($url =~ /^$badUrl/) {
|
||||
$url = "_".$url;
|
||||
}
|
||||
}
|
||||
if (length($url) > 250) {
|
||||
$url = substr($url,220);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -102,6 +102,7 @@ sub getOperations {
|
|||
'deleteGroupConfirm' => 'WebGUI::Operation::Group',
|
||||
'deleteGroupConfirm' => 'WebGUI::Operation::Group',
|
||||
'deleteGroupGrouping' => 'WebGUI::Operation::Group',
|
||||
'editGroup' => 'WebGUI::Operation::Group',
|
||||
'editGroupSave' => 'WebGUI::Operation::Group',
|
||||
'listGroups' => 'WebGUI::Operation::Group',
|
||||
'emailGroup' => 'WebGUI::Operation::Group',
|
||||
|
|
|
|||
5
www/extras/tinymce/defaultcontent.css
Normal file
5
www/extras/tinymce/defaultcontent.css
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
/* If the site managers don't specify a style sheet to use with the rich editor, we do just to make it readable. */
|
||||
|
||||
body {
|
||||
font-size: 15px;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue