From 43896b967a85f368175cc34539c31410f70f3e12 Mon Sep 17 00:00:00 2001 From: Yunus Emre Kalkan Date: Thu, 5 Dec 2019 11:09:59 +0300 Subject: [PATCH] rename cookie --- .../src/Volo.Docs.Web/Pages/Documents/Project/Index.cshtml.cs | 2 +- .../docs/src/Volo.Docs.Web/Pages/Documents/Project/index.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/docs/src/Volo.Docs.Web/Pages/Documents/Project/Index.cshtml.cs b/modules/docs/src/Volo.Docs.Web/Pages/Documents/Project/Index.cshtml.cs index 37b92ac547..3abb1fbd1a 100644 --- a/modules/docs/src/Volo.Docs.Web/Pages/Documents/Project/Index.cshtml.cs +++ b/modules/docs/src/Volo.Docs.Web/Pages/Documents/Project/Index.cshtml.cs @@ -409,7 +409,7 @@ namespace Volo.Docs.Pages.Documents.Project { UserPreferences = new DocumentRenderParameters(); - var cookie = Request.Cookies["AbpIoDocsPreferences"]; + var cookie = Request.Cookies["AbpDocsPreferences"]; if (cookie != null) { diff --git a/modules/docs/src/Volo.Docs.Web/Pages/Documents/Project/index.js b/modules/docs/src/Volo.Docs.Web/Pages/Documents/Project/index.js index a2ef1803ac..a6600f01da 100644 --- a/modules/docs/src/Volo.Docs.Web/Pages/Documents/Project/index.js +++ b/modules/docs/src/Volo.Docs.Web/Pages/Documents/Project/index.js @@ -141,7 +141,7 @@ }; var setCookies = function () { - var cookie = abp.utils.getCookieValue("AbpIoDocsPreferences"); + var cookie = abp.utils.getCookieValue("AbpDocsPreferences"); if (!cookie || cookie == null || cookie === null) { cookie = ""; @@ -171,7 +171,7 @@ } } - abp.utils.setCookieValue("AbpIoDocsPreferences", keyValues.join('|')); + abp.utils.setCookieValue("AbpDocsPreferences", keyValues.join('|')); }; $(".doc-section-combobox").change(function () {