Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Is there any clean way to alter the close "Close or Esc Key" text in the TB_closeAjaxWindow element?
Seems like $js_settings within _thickbox_doheader() is abstracted to some extent, but is there a good way to alter it?
Reason...
Pretty edge, but I embed Drupal powered "web parts" inside a software product and these use thickbox to display getting started videos.
Because the software does not link the ESC key to the browser area where thickbox is displayed it doesn't work, so the messaging is incorrect.
Comments
Comment #1
doublejosh CreditAttribution: doublejosh commentedping.
Comment #2
frjo CreditAttribution: frjo commentedYou can translate them to something else, including a space " " if you don't want them to show. You can specify translations in the conf variable in settings.php if they are few.
Comment #3
doublejosh CreditAttribution: doublejosh commentedLovely. Thanks for the support.