N°5958 - 1:n - edit_mode=ADD_ONLY - Location -> Person

Disable blob edition only when editing via ajax
This commit is contained in:
Benjamin Dalsass
2023-04-19 08:17:39 +02:00
parent 6fbe66d2ec
commit 1c3117dd2c

View File

@@ -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