Skip to content

Fix three browser-specific bugs (one Firefox-specific, one Safari-specific, one general) in bento administration.

  • Additional e.preventDefault()s fix the Firefox-specific bug documented in #837 (closed)
  • Setting opt.disable in addition to opt.hide is necessary for Safari, which doesn't respect option.hide
  • Disabling el (a <select> element) when hiding $container (its enclosing bootstrap form group) is necessary to prevent values from hidden elements from being included in form submit. This was causing validation issues when creating a new Databases or Journals bento (which don't require any service credentials and were confused by a value from the hidden service credentials select.

Related to #837 (closed)

Edited by Josh Wier

Merge request reports

Loading