Fix three browser-specific bugs (one Firefox-specific, one Safari-specific, one general) in bento administration.
requested to merge 837-receiving-unable-to-connect-an-error-occurred-during-a-connection-to-0-0-146-97-error-when into master
- 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