wire/modules/Page/PageFrontEdit/PageFrontEdit.js
/**
	 * Cancel all pending changes and restore original values
	 * 
	 */
Cancel all pending changes and restore original values
Cancel all pending changes and restore original values
function inlineAbandonAllChanges() {
		$('.pw-edited').each(function() {
			var t = $(this);
			var copy = t.children('.pw-edit-copy');
			var orig = t.children('.pw-edit-orig');
			copy.hide().html(copy.data('prev'));
			orig.show();
			copy.data('prev', null);
			t.removeClass('pw-changed pw-edited pw-editing');
		});
		buttons.hide();
	}
function inlineAbandonAllChanges ( ) { $ ( '.pw-edited' ) . each ( function ( ) { var t = $ ( this ) ; var copy = t . children ( '.pw-edit-copy' ) ; var orig = t . children ( '.pw-edit-orig' ) ; copy . hide ( ) . html ( copy . data ( 'prev' ) ) ; orig . show ( ) ; copy . data ( 'prev' , null ) ; t . removeClass ( 'pw-changed pw-edited pw-editing' ) ; } ) ; buttons . hide ( ) ; }
Cancel all pending changes and restore original values
Cancel all pending changes and restore original values