dist/assets/js/plugins/storeLocator/jquery.storelocator.js
function () {
			this.writeDebug('_formEventHandler');
			var _this = this;
			// ASP.net or regular submission?
			if (this.settings.noForm === true) {
				$(document).on('click.'+pluginName, '.' + this.settings.formContainer + ' button', function (e) {
					_this.processForm(e);
				});
				$(document).on('keydown.'+pluginName, function (e) {
					if (e.keyCode === 13 && $('#' + _this.settings.addressID).is(':focus')) {
						_this.processForm(e);
					}
				});
			}
			else {
				$(document).on('submit.'+pluginName, '#' + this.settings.formID, function (e) {
					_this.processForm(e);
				});
			}

			// Reset button trigger
			if ($('.bh-sl-reset').length && $('#' + this.settings.mapID).length) {
				$(document).on('click.' + pluginName, '.bh-sl-reset', function () {
					_this.mapReload();
				});
			}
		}
function () {
			this.writeDebug('_formEventHandler');
			var _this = this;
			// ASP.net or regular submission?
			if (this.settings.noForm === true) {
				$(document).on('click.'+pluginName, '.' + this.settings.formContainer + ' button', function (e) {
					_this.processForm(e);
				});
				$(document).on('keydown.'+pluginName, function (e) {
					if (e.keyCode === 13 && $('#' + _this.settings.addressID).is(':focus')) {
						_this.processForm(e);
					}
				});
			}
			else {
				$(document).on('submit.'+pluginName, '#' + this.settings.formID, function (e) {
					_this.processForm(e);
				});
			}

			// Reset button trigger
			if ($('.bh-sl-reset').length && $('#' + this.settings.mapID).length) {
				$(document).on('click.' + pluginName, '.bh-sl-reset', function () {
					_this.mapReload();
				});
			}
		}
function ( ) { this . writeDebug ( '_formEventHandler' ) ; var _this = this ; // ASP.net or regular submission? if ( this . settings . noForm === true ) { $ ( document ) . on ( 'click.' + pluginName , '.' + this . settings . formContainer + ' button' , function ( e ) { _this . processForm ( e ) ; } ) ; $ ( document ) . on ( 'keydown.' + pluginName , function ( e ) { if ( e . keyCode === 13 && $ ( '#' + _this . settings . addressID ) . is ( ':focus' ) ) { _this . processForm ( e ) ; } } ) ; } else { $ ( document ) . on ( 'submit.' + pluginName , '#' + this . settings . formID , function ( e ) { _this . processForm ( e ) ; } ) ; } // Reset button trigger if ( $ ( '.bh-sl-reset' ) . length && $ ( '#' + this . settings . mapID ) . length ) { $ ( document ) . on ( 'click.' + pluginName , '.bh-sl-reset' , function ( ) { _this . mapReload ( ) ; } ) ; } }
Form event handler setup - private
Form event handler setup - private