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:
Robbie Averill 2017-06-13 10:52:00 +12:00
parent 98c20aa4dd
commit 1f7b17a2d3

View File

@ -199,7 +199,7 @@ class DMSDocumentAddController extends LeftAndMain
'edit'
);
}
return $modelAdmin->Link('DMSDocumentSet');
return $modelAdmin->Link();
}
return Controller::join_links(