Remove some debugging
This commit is contained in:
parent
6b76f81786
commit
d7b9c2cbe7
|
@ -66,7 +66,6 @@
|
||||||
window.addEventListener( 'beforeunload', this.unloadConfirmation );
|
window.addEventListener( 'beforeunload', this.unloadConfirmation );
|
||||||
},
|
},
|
||||||
setUnloadConfirmation : function() {
|
setUnloadConfirmation : function() {
|
||||||
console.log( data.strings.unload_confirmation_msg );
|
|
||||||
this.needsUnloadConfirm = true;
|
this.needsUnloadConfirm = true;
|
||||||
},
|
},
|
||||||
clearUnloadConfirmation : function() {
|
clearUnloadConfirmation : function() {
|
||||||
|
@ -78,7 +77,6 @@
|
||||||
window.event.returnValue = data.strings.unload_confirmation_msg;
|
window.event.returnValue = data.strings.unload_confirmation_msg;
|
||||||
return data.strings.unload_confirmation_msg;
|
return data.strings.unload_confirmation_msg;
|
||||||
}
|
}
|
||||||
return null;
|
|
||||||
},
|
},
|
||||||
sanitizePage : function( page_num ) {
|
sanitizePage : function( page_num ) {
|
||||||
page_num = parseInt( page_num, 10 );
|
page_num = parseInt( page_num, 10 );
|
||||||
|
|
Loading…
Reference in New Issue