Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

BUGFIX FolderID was not present in post, so file would not be uploade…

…d to the correct place. (from r91958)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92472 467b73ca-7a2a-4603-9d3b-597d59a354a9
  • Loading branch information...
commit ac9ed436ab665e18b2f2c0ef76161fb6cd199b0b 1 parent c14e7df
@chillu chillu authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  code/AssetAdmin.php
View
1  code/AssetAdmin.php
@@ -141,6 +141,7 @@ function UploadForm() {
// see r54952 (originally committed in r42014)
$form = new Form($this,'UploadForm', new FieldSet(
new HiddenField("ID", "", $this->currentPageID()),
+ new HiddenField("FolderID", "", $this->currentPageID()),
// needed because the button-action is triggered outside the iframe
new HiddenField("action_doUpload", "", "1"),
new FileField("Files[0]" , _t('AssetAdmin.CHOOSEFILE','Choose file: ')),
Please sign in to comment.
Something went wrong with that request. Please try again.