fixed: Rich editor image uploader doesn't follow size limits
This commit is contained in:
parent
308671edd0
commit
579d6085ca
2 changed files with 6 additions and 4 deletions
|
|
@ -539,11 +539,12 @@ sub www_addImageSave {
|
|||
groupIdView => $session->form->process('groupIdView') || $base->get('groupIdView'),
|
||||
ownerUserId => $session->user->userId,
|
||||
isHidden => 1,
|
||||
});
|
||||
});
|
||||
$child->update({url => $child->fixUrl});
|
||||
}
|
||||
$session->http->setRedirect($base->getUrl('op=formHelper;class=HTMLArea;sub=imageTree'));
|
||||
return undef;
|
||||
$child->applyConstraints;
|
||||
}
|
||||
$session->http->setRedirect($base->getUrl('op=formHelper;class=HTMLArea;sub=imageTree'));
|
||||
return undef;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue