All questions about EDocman extension

Edocman Link Plugin Loads Modal even if not enable

  • Rowan Hoskyns Abrahall
  • Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 11 months ago #81443 by Rowan Hoskyns Abrahall
Edocman Link Plugin Loads Modal even if not enable was created by Rowan Hoskyns Abrahall
I have just noticed that the edocman link calls all of the asssociated files for modal, even when the option isn't enabled.
This adds a lot of weight to the page.
Is there any way that you can wrap the behaviour call round an if statement so it is only triggered when the option is enabled?

This line

JHtml::_('behavior.modal', 'a.edocman-modal')

Thanks

Please Log in or Create an account to join the conversation.

Moderators: Mr. Dam