Testing Linkit module on a bootstrap subtheme. When I click on the linkit button, the modal dialog doesn't show up and i get an error in the js console : Drupal.theme.bootstrapModal is not a function)

According to this issue Editor routes don't use the ajax_base_page theme negotiator, adding

options:
    _theme: ajax_base_page 

to routes linkit.linkit_dialog and linkit.autocomplete seems to fix this issue. Patch follow.

CommentFileSizeAuthor
#2 Modal_doesnt_show_up-2647628-2.patch568 bytesflocondetoile
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

flocondetoile created an issue. See original summary.

flocondetoile’s picture

Status: Active » Needs review
FileSize
568 bytes

The patch to review. Thanks

  • anon committed 3f7af92 on 8.x-4.x authored by flocondetoile
    Issue #2647628 by flocondetoile: Modal doesn't show up (error on the js...
anon’s picture

Status: Needs review » Fixed

Thanks for the patch. This is now committed to the 8.x-dev.

Status: Fixed » Closed (fixed)

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