mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Template: Adjustment to prevent Chrome from prompting on page unload.
This commit is contained in:
@@ -531,7 +531,6 @@ echo "<script language='JavaScript' type='text/javascript' src='<!--{project_pat
|
||||
|
||||
window.addEventListener('beforeunload', function(e){
|
||||
hide_password_fields();
|
||||
e.returnValue = ''; //required by chrome
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user