diff --git a/sources/Controller/Base/Layout/ObjectController.php b/sources/Controller/Base/Layout/ObjectController.php index 8a2ca12d7..41e390d41 100644 --- a/sources/Controller/Base/Layout/ObjectController.php +++ b/sources/Controller/Base/Layout/ObjectController.php @@ -278,6 +278,9 @@ JS; }; JS; + // Remove blob edition from creation form @see N°5863 to allow blob edition in modal context + LegacyFormHelper::DisableAttributeBlobInputs($sClass, $aFormExtraParams); + } else { $oPage = new iTopWebPage('', $bPrintable); $oPage->DisableBreadCrumb(); @@ -288,9 +291,6 @@ JS; $oPage->add_linked_script(utils::GetAbsoluteUrlAppRoot().$sJsFileRelPath); } - // Remove blob edition from creation form @see N°5863 to allow blob edition in modal context - LegacyFormHelper::DisableAttributeBlobInputs($sClass, $aFormExtraParams); - // Note: Code duplicated to the case 'apply_modify' in UI.php when a data integrity issue has been found $oObj->DisplayModifyForm($oPage, $aFormExtraParams); // wizard_container: Display the title above the form