Quellcode durchsuchen

Mark all changes as making model unsaved

There is a bug where making changes to an element does not
report these changes in the changelog steps. Such as changing
the condition code in a rule LHS.

Therefore the earlier commits are incorrect. This commit
partially reverts the earlier one by adding in an express
call to note the model as unsaved on any changelog modification.
bentleyjoakes vor 5 Jahren
Ursprung
Commit
516eea0d23
1 geänderte Dateien mit 4 neuen und 0 gelöschten Zeilen
  1. 4 0
      client/query_response.js

+ 4 - 0
client/query_response.js

@@ -75,6 +75,10 @@ function __handleChangelog(changelog,seqNum,hitchhiker)
 		return;
 	}
 
+	// BUG: changes to element values are not being sent as changelog steps
+	// so for now, mark any change as making the model unsaved
+	WindowManagement.setWindowTitle(true);
+
 	changelog.forEach(
 		function(step)
 		{