File (and image) field settings page includes full token tree if the module is installed. Loading such page can take minutes if token tree is huge. I suggest to show token tree in a popup dialog if Token module is installed. This requires to add '#dialog' => TRUE array item to token tree form element.

Comments

maximpodorov created an issue. See original summary.

Deciphered’s picture

Yes, completely intend to do that, but feel free to roll a patch.

Main thing to remember is that it should be removed from the current fieldset as well, as it makes no sense to expand a fieldset to click a link that opens the token browser in a modal dialog.

Deciphered’s picture

Category: Bug report » Feature request

Updating to a feature request.

Deciphered’s picture

Status: Active » Fixed

Done.

Status: Fixed » Closed (fixed)

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