public void EnsurePre1025Behavior() { // new in 10.25 - by default jQuery isn't loaded! // but any old behaviour, incl. no-view defined, etc. should activate compatibility var addAntiForgeryToken = BlockBuilder ?.GetEngine(Purpose.WebView) ?.CompatibilityAutoLoadJQueryAndRVT ?? true; if (!addAntiForgeryToken) { return; } Log.Add(nameof(EnsurePre1025Behavior) + ": Activate Anti-Forgery for compatibility with old behavior"); ServicesFramework.Instance.RequestAjaxAntiForgerySupport(); Header.AddHeaders(); }