Bug 16237: Allow entering of EDI accounts with plugins disabled
authorJesse Weaver <jweaver@bywatersolutions.com>
Tue, 12 Apr 2016 22:52:29 +0000 (16:52 -0600)
committerBrendan Gallagher <bredan@bywatersolutions.com>
Wed, 20 Apr 2016 16:46:34 +0000 (16:46 +0000)
commit22633b5a614fc08bf72ce04d13843eafbb4552fc
treeaa2118942dd652e4401e8ca882db3b54467dea46
parent6efa491d1b2f92fa407aa49c7b678f9b642fc83f
Bug 16237: Allow entering of EDI accounts with plugins disabled

Test plan:
  1. Disable <enable_plugins> in koha-conf.xml (restart memcached if needed).
  2. Open the EDI accounts admin page.
  3. Notice incredible breakage.
  4. Apply patch.
  5. Reload page, should now display (and the "Plugin:" dropdown should
     be hidden).
  6. Re-enable <enable_plugins> (and the UseKohaPlugins syspref as
     well).
  7. Ensure that the "Plugin:" dropdown is once again displayed.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Brendan Gallagher <bredan@bywatersolutions.com>
admin/edi_accounts.pl
koha-tmpl/intranet-tmpl/prog/en/modules/admin/edi_accounts.tt