Selaa lähdekoodia

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 5 vuotta sitten
vanhempi
commit
516eea0d23
1 muutettua tiedostoa jossa 4 lisäystä ja 0 poistoa
  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)
 		{