         type: 'PATCH'
         data:
           masked: $input.is(':checked') ? 'true' : 'false'
+        success:
+          location.reload() if changed
+
 ) ekylibre, jQuery

        type: 'PATCH'
        data:
          masked: $input.is(':checked') ? 'true' : 'false'

    toggleDraftItemsVisibility: ->
      $input = $(this)
      $list = $($input.data('mask-draft-items'))
      $letteredItems = $list.find('.draft-item')

      E.ledgers.toggleDraftItemsVisibility.call($(this))

  E.ledgers =
    toggleLetteredItemsVisibility:(changed) ->
      $input = $(this)
      $list = $($input.data('mask-lettered-items'))
      $letteredItems = $list.find('.lettered-item')
