Problem/Motivation

Gin LB does not apply its hooks to my form in media_library_edit because media type id is not supported. As a result I can't save a media in a dialog.
missing buttons example

Steps to reproduce

1. Install gin_lb and media_library_edit
2. Go to LB, add a media with unusual type name (not image)
3. Click inline edit button on media

Actual result:
Save buttons are not available

Expected result:
I can save a media form

Proposed resolution

Fix Gin LB hook condition.

Remaining tasks

CommentFileSizeAuthor
#8 3432316-8.patch4.1 KBlexbritvin
missing_btns.png314.68 KBlexbritvin

Issue fork gin_lb-3432316

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

lexbritvin created an issue. See original summary.

lexbritvin’s picture

Status: Active » Needs review
Grimreaper’s picture

Assigned: Unassigned » Grimreaper

Grimreaper’s picture

Assigned: Grimreaper » Unassigned
Status: Needs review » Fixed

Thanks for the report and the fix.

I have updated it and merged.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

lexbritvin’s picture

FileSize
4.1 KB