PageSourceSearch

https://www.millsborochamber.com/assets/controllers/existing_person_choice_controller-7492c0c1.js

js millsborochamber.com collected 2026-09-29 09:50:33 UTC 535 bytes, 20 lines download raw bytes

1import { Controller } from "@hotwired/stimulus"
2
3export default class extends Controller {
4  static targets = ["personId"]
5
6  confirm(event) {
7    event.preventDefault()
8
9    if (this.submitted || !this.hasPersonIdTarget) return
10
11    this.submitted = true
12    event.currentTarget.disabled = true
13    this.personIdTarget.value = event.params.personId || ""
14
15    const previousNoValidate = this.element.noValidate
16    this.element.noValidate = true
17    this.element.requestSubmit()
18    this.element.noValidate = previousNoValidate
19  }
20}

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.