N°5904 Hide transitions in modals

This commit is contained in:
Stephen Abello
2023-01-24 11:19:24 +01:00
parent 8f7003c694
commit 1152b2f401
3 changed files with 5 additions and 3 deletions

View File

@@ -124,7 +124,7 @@ class LinkSetController extends AbstractController
* @throws \CoreException
* @throws \SecurityException
*/
public function OperationCreateLinkedObject()
public function OperationCreateLinkedObject(): AjaxPage
{
if (!$this->IsHandlingXmlHttpRequest()) {
throw new CoreException('LinksetController can only be called in ajax.');
@@ -192,6 +192,7 @@ JS
;
$aExtraParams = [
'noRelations' => true,
'hide_transitions' => true,
'fieldsFlags' => $aFieldFlags,
'js_handlers' => [
'form_on_submit' => $sFormOnSubmitJsCode,