From 3588f82fce623f8e5ae9e0ae2377333c8dbdedc5 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Tue, 13 Sep 2016 16:12:27 +0300 Subject: [PATCH] Fix checkbox logic on export page --- .../views/accounts/import_export.blade.php | 33 +++++++------------ 1 file changed, 12 insertions(+), 21 deletions(-) diff --git a/resources/views/accounts/import_export.blade.php b/resources/views/accounts/import_export.blade.php index 2b759f708d14..1d53c9744c8a 100644 --- a/resources/views/accounts/import_export.blade.php +++ b/resources/views/accounts/import_export.blade.php @@ -49,7 +49,7 @@
{!! Former::select('format') - ->onchange('setEntityTypesVisible()') + ->onchange('setCheckboxesEnabled()') ->addOption('CSV', 'CSV') ->addOption('XLS', 'XLS') ->addOption('JSON', 'JSON') @@ -58,7 +58,7 @@ {!! Former::inline_radios('include_radio') - ->onchange('onIncludeChange()') + ->onchange('setCheckboxesEnabled()') ->label(trans('texts.include')) ->radios([ trans('texts.all') . '   ' => ['value' => 'all', 'name' => 'include'], @@ -92,17 +92,18 @@ @stop