lots o fixes

This commit is contained in:
Matthew Wilson 2006-01-21 19:00:27 +00:00
parent 81a26c6d18
commit fa5439b099
16 changed files with 77 additions and 75 deletions

View file

@ -168,7 +168,7 @@ sub getFileIconUrl {
sub getIcon {
my $self = shift;
my $small = shift;
if ($small && ref($self) eq '') {
if ($small && $self->get("dummy")) {
return $self->session->config->get("extrasURL").'/assets/small/file.gif';
} elsif ($small) {
return $self->getFileIconUrl;
@ -267,6 +267,7 @@ We override the update method from WebGUI::Asset in order to handle file system
sub update {
my $self = shift;
use WebGUI; WebGUI::dumpSession("foo");
my %before = (
owner => $self->get("ownerUserId"),
view => $self->get("groupIdView"),