mirror of
https://github.com/silverstripe/silverstripe-dms
synced 2024-10-22 14:05:56 +02:00
FIX Redirect back to documents tab after uploading a document
Unless you are within a document set or page context
This commit is contained in:
parent
98c20aa4dd
commit
1f7b17a2d3
@ -199,7 +199,7 @@ class DMSDocumentAddController extends LeftAndMain
|
||||
'edit'
|
||||
);
|
||||
}
|
||||
return $modelAdmin->Link('DMSDocumentSet');
|
||||
return $modelAdmin->Link();
|
||||
}
|
||||
|
||||
return Controller::join_links(
|
||||
|
Loading…
Reference in New Issue
Block a user