function nuHeaderTest() {
console.log('Functions placed here are available anywhere in nuBuilder Forte.');
}
// nuOnLoad() will be run after each Browse and Edit Form loads.
function nuOnLoad() {
if(nuFormType() == 'edit'){
// Edit Form loaded
} else
if(nuFormType() == 'browse'){
// Browse Form loaded
}
}
</script>
<!-- Define your own styles, override styles from nubuilder4.css -->
<link rel='shortcut icon' href='http://dbs.winecountry-bbq.com/favicon.ico'>
<style>
/*.nuActionButton {background-color:#0073aa;} */
</style>
<script>
What did it for me was the following, I've added the following directive in both the http <VirtualHost *:80> and https <VirtualHost *:443> virtual host blocks:
ServerName your-app.com
ServerAlias www.your-app.com
Header always unset X-Frame-Options
Header set X-Frame-Options "SAMEORIGIN"
The reasoning behind this? Well by default if set, the server does not reset the X-Frame-Options header so we need to first always remove the default value, in my case it was DENY, and then with the next rule we set it to the desired value, in my case SAMEORIGIN. Of course you can use the Header set X-Frame-Options ALLOW-FROM ... rule as well.