https://smartlandpompei.it/ckan/fanstatic/base/:version:2019-10-14T13:58:18/modules/select-switch.js
1/* Finds the nearest select box in a form and watches it for changes. When 2 * a change occurs it submits the form. It can also hide the submit button if 3 * required. 4 * 5 * target - A selector to watch for changes (default: select) 6 * button - A selector for the button to hide in the form. 7 * 8 * Examples 9 * 10 * <form data-module="select-switch" data-module-target=""> 11 * <label for="field-order">Sort By:</label> 12 * <select id="field-order"></select> 13 * <button type="submit">Go</button> 14 * </form> 15 * 16 * Returns . 17 */ 18this.ckan.module('select-switch', { 19 20 options: { 21 target: 'select' 22 }, 23 24 initialize: function () { 25 var _this = this; 26 27 this.el.on('change', this.options.target, function () { 28 _this.el.submit(); 29 }); 30 } 31});
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.