Просмотр исходного кода

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 лет назад
Родитель
Сommit
516eea0d23
1 измененных файлов с 4 добавлено и 0 удалено
  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)
 		{