|
@@ -1165,14 +1165,14 @@ var EditorViewModel = (function() {
|
|
|
lastCompatibilityRequest.abort();
|
|
lastCompatibilityRequest.abort();
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- logGA('compatibility');
|
|
|
|
|
- self.compatibilityCheckRunning(true);
|
|
|
|
|
- self.hasSuggestion(false);
|
|
|
|
|
-
|
|
|
|
|
if (!targetPlatform) {
|
|
if (!targetPlatform) {
|
|
|
targetPlatform = self.type();
|
|
targetPlatform = self.type();
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ logGA('compatibility');
|
|
|
|
|
+ self.compatibilityCheckRunning(targetPlatform != self.type());
|
|
|
|
|
+ self.hasSuggestion(false);
|
|
|
|
|
+
|
|
|
self.compatibilityTarget(targetPlatform);
|
|
self.compatibilityTarget(targetPlatform);
|
|
|
|
|
|
|
|
lastCompatibilityRequest = $.post("/notebook/api/optimizer/statement/compatibility", {
|
|
lastCompatibilityRequest = $.post("/notebook/api/optimizer/statement/compatibility", {
|