I'm going to try this one again. It's very simple to reproduce.
Step 1: Add a new record to an edit screen,
Step 2: Refresh the form (CTRL+SHIFT+R)
nuHasBeenSaved() outputs 1 to the console instead of 0. This is not correct because the form has not yet been saved.
This is to be placed in the JavaScript of the form:
Code: Select all
if(nuFormType() == 'edit') {
console.log(nuHasBeenSaved());
};