PK
œqhYî¶J‚ßF ßF ) nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/
Notice: ob_end_clean(): Failed to delete buffer. No buffer to delete in /home/telusvwg/public_html/da754d/index.php on line 8
| Dir : /home/telusvwg/techinnovo.co/wp-content/plugins/secure-custom-fields/assets/src/js/ |
| Server: Linux premium279.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64 IP: 66.29.132.192 |
| Dir : /home/telusvwg/techinnovo.co/wp-content/plugins/secure-custom-fields/assets/src/js/_acf-unload.js |
( function ( $, undefined ) {
acf.unload = new acf.Model( {
wait: 'load',
active: true,
changed: false,
actions: {
validation_failure: 'startListening',
validation_success: 'stopListening',
},
events: {
'change form .acf-field': 'startListening',
'submit form': 'stopListening',
},
enable: function () {
this.active = true;
},
disable: function () {
this.active = false;
},
reset: function () {
this.stopListening();
},
startListening: function () {
// bail early if already changed, not active
if ( this.changed || ! this.active ) {
return;
}
// update
this.changed = true;
// add event
$( window ).on( 'beforeunload', this.onUnload );
},
stopListening: function () {
// update
this.changed = false;
// remove event
$( window ).off( 'beforeunload', this.onUnload );
},
onUnload: function () {
return acf.__(
'The changes you made will be lost if you navigate away from this page'
);
},
} );
} )( jQuery );