Explorar o código

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 %!s(int64=5) %!d(string=hai) anos
pai
achega
516eea0d23
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  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)
 		{