Skip to content
Snippets Groups Projects
Commit b736938b authored by Jacob Rockowitz's avatar Jacob Rockowitz
Browse files

Minor tweaks

parent a4cdf4f1
No related branches found
No related merge requests found
......@@ -55,12 +55,9 @@
"drupal/decoupled_router": {
"Unable to resolve path on node in other language than default": "https://www.drupal.org/files/issues/2022-12-01/decouple_router-3111456-resolve-language-issue-58--get-translation.patch"
},
"drupal/focal_point": {
"Issue #3162961: Stylish the preview button according to the admin theme CSS": "https://www.drupal.org/files/issues/2021-07-02/claro_gin_preview_link-3162961-4.patch"
},
"drupal/layout_paragraphs": {
"Issue #3258029: Media Library validation bug when content type has a media field and a paragraph field with the same machine name": "https://git.drupalcode.org/project/layout_paragraphs/-/merge_requests/58.diff",
"Issue #3273387: Layout Paragraphs Builder Field Formatter causes error on Layout Builder display mode management screen": "https://git.drupalcode.org/project/layout_paragraphs/-/merge_requests/95.diff"
"Issue #3273387: Layout Paragraphs Builder Field Formatter causes error on Layout Builder display mode management screen": "https://www.drupal.org/files/issues/2022-12-31/layout_paragraphs-3273387-6.patch"
},
"drupal/metatag": {
"Issue #2945817: Support JSON API, REST, GraphQL and custom normalizations": "https://www.drupal.org/files/issues/2022-10-13/metatag-data-type-support-2945817-154.patch"
......@@ -68,9 +65,6 @@
"drupal/paragraphs": {
"Issue #3067265: Paragraph templates: unable to access parent-node tokens from child-paragraphs in the default installed setup": "https://git.drupalcode.org/project/paragraphs/-/merge_requests/28.diff"
},
"drupal/smart_date": {
"Issue #3300768: Widget configuration for min and max date_year_range": "https://git.drupalcode.org/project/smart_date/-/merge_requests/37.diff"
},
"drupal/subrequests": {
"Issue #3049395: Page Cache causes different subrequests to return the same responses": "https://www.drupal.org/files/issues/2019-07-18/change_request_type-63049395-09.patch"
}
......
......@@ -22,11 +22,17 @@
// Track which button is clicked.
submit.addEventListener('click', () => submit.classList.add('js-schemadotorg-submit-clicked'));
// Disable the submit button and disable the progress throbber.
// Disable the submit button, remove the cancel link,
// and display a progress throbber.
form.addEventListener('submit', () => {
submit.disabled = true;
const cancelLink = submit.parentNode.querySelector('#edit-cancel');
cancelLink && cancelLink.remove();
const throbber = Drupal.theme.ajaxProgressThrobber();
submit.insertAdjacentHTML('afterend', throbber);
});
});
}
......
......@@ -399,6 +399,7 @@ class SchemaDotOrgMappingSetManager implements SchemaDotOrgMappingSetManagerInte
'bundles' => $bundle,
'media-types' => $bundles,
// Setting the below options to NULL prevents PHP warnings.
'base-fields' => NULL,
'skip-fields' => NULL,
'authors' => NULL,
'feedback' => NULL,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment