wire/modules/Page/PageFrontEdit/PageFrontEdit.js
/**
	 * Event for when the "cancel" button is clicked
	 * 
	 */
Event for when the "cancel" button is clicked
Event for when the " cancel " button is clicked
function inlineCancelClickEvent() {
		if($('.pw-changed').length > 0) {
			if(confirm(ProcessWire.config.PageFrontEdit.labels.cancelConfirm)) {
				inlineAbandonAllChanges();
				buttons.hide();
			} else {
			}
		} else {
			inlineAbandonAllChanges();
		}
		return false;
	}
function inlineCancelClickEvent ( ) { if ( $ ( '.pw-changed' ) . length > 0 ) { if ( confirm ( ProcessWire . config . PageFrontEdit . labels . cancelConfirm ) ) { inlineAbandonAllChanges ( ) ; buttons . hide ( ) ; } else { } } else { inlineAbandonAllChanges ( ) ; } return false ; }
Event for when the "cancel" button is clicked
Event for when the " cancel " button is clicked
// leave as-is