1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
| Quintiq file version 2.0
| #parent: #root
| Method CheckFormHasChangesWithFeedback (
| internal[WebForm] webform,
| output String feedback_o
| ) as Boolean id:Method_ApplicationMacroPlanner_CheckFormHasChangesWithFeedback
| {
| #keys: '[144528.1.991114488]'
| Body:
| [*
| // Check if form contains unsaved changes (dirty). If no changes, provide generic feedback.
| formHasChanges := webform.HasChanges();
|
| if( not formHasChanges )
| {
| feedback_o := Translations::MP_WebDesigner_NoChangesDetected();
| }
|
| return formHasChanges;
| *]
| }
|
|