confirmation before exiting the edit page

This commit is contained in:
mdipierro
2012-08-07 11:21:48 -05:00
parent f95af29049
commit 7cea8c2fb0
3 changed files with 7 additions and 2 deletions
@@ -171,3 +171,8 @@ window.onload = function() {
</div>
{{pass}}
<script>
jQuery(window).bind('beforeunload', function(){
return '';
});
</script>