Skip to content
Permalink
Browse files

carrier_wizard.js: simplify.

Should behave the same, with less code.
  • Loading branch information...
Traumflug committed Jul 31, 2019
1 parent 9627275 commit 034d10bf8e2929e2782cb8c57131b0d209a7f427
Showing with 1 addition and 3 deletions.
  1. +1 −3 js/admin/carrier_wizard.js
@@ -427,9 +427,7 @@ function bind_inputs() {
}

function hideFees() {
$('#zone_ranges .range_inf td input,#zone_ranges .range_sup td input,#zone_ranges .fees_all td input,#zone_ranges .fees td input')
.not('#zone_ranges .fees_all td input[type="checkbox"]').not('#zone_ranges .fees td input.input_zone')
.attr('disabled', 'disabled');
$('#zone_ranges .range_inf td input,#zone_ranges .range_sup td input,#zone_ranges .fees_all td input[type="text"],#zone_ranges .fees td input[type="text"]').attr('disabled', 'disabled');
}

function showFees() {

0 comments on commit 034d10b

Please sign in to comment.
You can’t perform that action at this time.